Re: SSL over Unix-domain sockets - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SSL over Unix-domain sockets
Date
Msg-id 21516.1238172002@sss.pgh.pa.us
Whole thread Raw
In response to Re: SSL over Unix-domain sockets  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Mar 27, 2009 at 9:47 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
>> But there is `hostname` and `hostname --fqdn`, both of which are well-defined
>> independent of a connection.

> But they aren't guaranteed to return anything useful, and IME often don't.

I think "well defined" is stretching it anyway.  I see different
behaviors (partially or fully qualified hostname) on my different Unix
machines.  --fqdn appears particularly useless, as Fedora 10 reports
this:

$ hostname --fqdn
localhost.localdomain

and my other machines don't recognize the switch at all.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Should SET ROLE inherit config params?
Next
From: Josh Berkus
Date:
Subject: Re: Should SET ROLE inherit config params?