From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | David Christensen <david(at)endpoint(dot)com>, 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-21 05:07:59 |
Message-ID: | AANLkTinEESOcsaHKVbB6dT1Tw_5ip9s-OFgoy1LZ72yV@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jul 20, 2010 at 11:14 PM, Robert Haas <robertmhaas(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | KaiGai Kohei | 2010-07-21 05:41:52 | Re: leaky views, yet again |
Previous Message | KaiGai Kohei | 2010-07-21 04:58:49 | Re: leaky views, yet again |