pgsql: Have \conninfo mention the port even for local sockets. - Mailing list pgsql-committers

From rhaas@postgresql.org (Robert Haas)
Subject pgsql: Have \conninfo mention the port even for local sockets.
Date
Msg-id 20100720141430.412B37541D5@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: itagaki@pgfoundry.org (User Itagaki)
Date:
Subject: pgbulkload - pgbulkload: ON_DUPLICATE option in sample control files are
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Properly replay CREATE TABLESPACE during crash recovery by