Re: SSL over Unix-domain sockets

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Greg Stark <greg(dot)stark(at)enterprisedb(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: SSL over Unix-domain sockets
Date: 2009-03-27 16:40:02
Message-ID: 21516.1238172002@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Fri, Mar 27, 2009 at 9:47 AM, Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-03-27 17:00:42 Re: Should SET ROLE inherit config params?
Previous Message Tom Lane 2009-03-27 16:33:23 Re: Should SET ROLE inherit config params?