NixOS/nixpkgs — pull request #4294 by tolbrino (2014-09-27 12:39:14+00:00)
Title: postgresql: use configured port when invoking psql

Without the port psql would always try to connect to PostgreSQL through the default port, even though another one is used. This leads to the service timing out.