Have psql avoid describing local sockets as host names.
authorRobert Haas <rhaas@postgresql.org>
Fri, 23 Jul 2010 14:56:54 +0000 (14:56 +0000)
committerRobert Haas <rhaas@postgresql.org>
Fri, 23 Jul 2010 14:56:54 +0000 (14:56 +0000)
commit87e0b7422d70ff4fb69612ef7ba3cbee6ed8d2ae
tree07c29a641688bfa142dc1c9d67c98d7a03253e04
parent7be8946c78935f20faf17f8e313c4b86cb773967
Have psql avoid describing local sockets as host names.

We now use the phrase 'via local socket in' rather than 'on host' in both
\c and \conninfo output, when applicable.

Fujii Masao, with some kibitzing by me.
src/bin/psql/command.c