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

Поиск
Список
Период
Сортировка
От David Christensen
Тема Re: psql \conninfo command (was: Patch: psql \whoami option)
Дата
Msg-id 3F3D2581-6C95-48BE-88C8-C978B65A9170@endpoint.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
> I would propose to print instead:
>
> You are connected to database "rhaas" via local socket as user "rhaas".


One minor quibble here; you lose the ability to see which pg instance you're running on if there are multiple ones
runningon different local sockets, so maybe either the port or the socket path should show up here still. 

Regards,

David
--
David Christensen
End Point Corporation
david@endpoint.com






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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: psql \conninfo command (was: Patch: psql \whoami option)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: psql \conninfo command (was: Patch: psql \whoami option)