I have a server which has a socket of /var/run/postgresql/.s.PGSQL.5432. This is set in the .conf file. However, when I try to run a pg_dump it complains about the server not running on /tmp/.s.PGSQL.5432. Can anyone explain this behaviour because if I try the -p option to pg_dump or set the PGPORT env variable it still gives the same report? Regards Garry