pgsql: Have \conninfo mention the port even for local sockets.

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Have \conninfo mention the port even for local sockets.
Date: 2010-07-20 14:14:30
Message-ID: 20100720141430.412B37541D5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Have \conninfo mention the port even for local sockets.

Per discussion with David Christensen, there can be multiple
instances of PG accessible via local sockets, and you need the port
to see which one you're actually connected to. David's original
patch worked this way, but I inadvertently ripped it out during
commit.

Modified Files:
--------------
pgsql/src/bin/psql:
command.c (r1.222 -> r1.223)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/command.c?r1=1.222&r2=1.223)

Browse pgsql-committers by date

  From Date Subject
Next Message Kevin Grittner 2010-07-20 16:01:07 Re: [COMMITTERS] pgsql: pgindent run for 9.0, second run
Previous Message User Itagaki 2010-07-20 08:30:59 pgbulkload - pgbulkload: ON_DUPLICATE option in sample control files are