Re: Redefine default result from PQhost()? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Redefine default result from PQhost()?
Date
Msg-id 18235.1448642129@sss.pgh.pa.us
Whole thread Raw
In response to Re: Redefine default result from PQhost()?  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Hmm. Good point. I didn't realize they already had to be ready to get a
> non-default path back.

Yeah, if it weren't for that, this would definitely be a hazardous change.
But AFAICS, an app that has a problem with this proposal was broken
already, it just didn't know it.

> Of course, the documentation just says it'll return a hostname. It should
> probably mention that it can return the unix socket path as well - but
> that's something that's missing already.

Agreed, will fix that.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Duplicate patch in commitfest
Next
From: Teodor Sigaev
Date:
Subject: Re: proposal: PL/Pythonu - function ereport