Re: Broken SSL tests in master - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Broken SSL tests in master
Date
Msg-id 1d0b9899-ff05-5bf0-53c8-4a1aa914d590@proxel.se
Whole thread Raw
In response to Broken SSL tests in master  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: Broken SSL tests in master  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 11/24/2016 10:38 PM, Andreas Karlsson wrote:
> To me it feels like the proper fix would be to make PQHost() return the
> value of the host parameter rather than the hostaddr (maybe add a new
> field in the pg_conn_host struct). But would be a behaviour change which
> might break someones application. Thoughts?

I have attached a proof of concept patch for this. Remaining work is
investigating all the callers of PQhost() and see if any of them are
negatively affected by this patch and cleaning up the code some.

Andreas

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Functions Immutable but not parallel safe?
Next
From: Pavel Stehule
Date:
Subject: Re: UNDO and in-place update