Skip site navigation (1) Skip section navigation (2)

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

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 14:14:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Tue, Jul 20, 2010 at 12:16 AM, David Christensen <david(at)endpoint(dot)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(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?
> Looks good to me.

OK, committed.

Thanks for the patch!

Robert Haas
The Enterprise Postgres Company

In response to


pgsql-hackers by date

Next:From: Robert HaasDate: 2010-07-20 14:22:23
Subject: Re: Query results differ depending on operating system (using GIN)
Previous:From: Matthew WakelingDate: 2010-07-20 14:12:25
Subject: Re: Trouble with COPY IN

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group