Обсуждение: pgsql: Have \conninfo mention the port even for local sockets.

Поиск
Список
Период
Сортировка

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

От
rhaas@postgresql.org (Robert Haas)
Дата:
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)