From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | David Christensen <david(at)endpoint(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Steve Singer <ssinger_pg(at)sympatico(dot)ca>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql \conninfo command (was: Patch: psql \whoami option) |
Date: | 2010-07-20 04:10:39 |
Message-ID: | AANLkTimLF9HWUdD1RjFs48Z3kZhBZJJAAA8JVOl61BOJ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jul 20, 2010 at 12:07 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Tue, Jul 20, 2010 at 12:02 AM, David Christensen <david(at)endpoint(dot)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 running on different local sockets, so maybe either the port or the socket path should show up here still.
>
> Doh. Will fix.
Something like the attached?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company
Attachment | Content-Type | Size |
---|---|---|
psql-conninfo-fix.patch | application/octet-stream | 643 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2010-07-20 04:14:21 | Re: [COMMITTERS] pgsql: pgindent run for 9.0, second run |
Previous Message | Robert Haas | 2010-07-20 04:07:22 | Re: psql \conninfo command (was: Patch: psql \whoami option) |