buddy-ekb/ngx_postgres — pull request #1 by istr (2014-06-15 18:20:02+00:00)
Title: Temporarily remove port= from AF_UNIX connection spec

Using a numerical port value does not work in conjunction with a socket connection, see the postgresql documentation. Alas, this could not be fixed using peer->port (because it is a numerical value), so the fix will be a bit more complicated (need to pass the parsed value from the config file directly).