Re: psql \conninfo command (was: Patch: psql \whoami option)

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: psql \conninfo command (was: Patch: psql \whoami option)
Дата
Msg-id AANLkTinEESOcsaHKVbB6dT1Tw_5ip9s-OFgoy1LZ72yV@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql \conninfo command (was: Patch: psql \whoami option)  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: psql \conninfo command (was: Patch: psql \whoami option)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Tue, Jul 20, 2010 at 11:14 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> OK, committed.

When I specify the path of the directory for the Unix-domain socket
as the host, \conninfo doesn't mention that this connection is based
on the Unix-domain socket. Is this intentional?

$ psql -h"/tmp" -c"\conninfo"
You are connected to database "postgres" on host "/tmp" at port "5432"
as user "postgres".

I expected that something like
   You are connected to database "postgres" via local socket on
"/tmp" at port "5432" as user "postgres".

is output.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


В списке pgsql-hackers по дате отправления:

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: leaky views, yet again
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Re: leaky views, yet again