Re: psql \conninfo command (was: Patch: psql \whoami option)
От | Robert Haas |
---|---|
Тема | Re: psql \conninfo command (was: Patch: psql \whoami option) |
Дата | |
Msg-id | AANLkTikwWG1gvUb259506zovQhNQuXjJojaxKBea=Pfk@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: psql \conninfo command (was: Patch: psql \whoami option) (David Christensen <david@endpoint.com>) |
Ответы |
Re: psql \conninfo command (was: Patch: psql \whoami
option)
|
Список | pgsql-hackers |
On Tue, Jul 20, 2010 at 12:16 AM, David Christensen <david@endpoint.com> wrote: > On Jul 19, 2010, at 11:10 PM, Robert Haas wrote: > >> On Tue, Jul 20, 2010 at 12:07 AM, Robert Haas <robertmhaas@gmail.com> wrote: >>> On Tue, Jul 20, 2010 at 12:02 AM, David Christensen <david@endpoint.com> wrote: >>>>> 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. >>> >>> Doh. Will fix. >> >> Something like the attached? > > > Looks good to me. OK, committed. Thanks for the patch! -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company
В списке pgsql-hackers по дате отправления: