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

From Michael Paquier
Subject Re: Broken SSL tests in master
Date
Msg-id CAB7nPqT=C=wkLHu79QjZPLKO8vEi6n=b0JjezCALeUR6Uv=0gw@mail.gmail.com
Whole thread Raw
In response to Re: Broken SSL tests in master  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Dec 2, 2016 at 10:26 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
>> Would it be better to return NULL instead then.
>
> That would likely just result in application core dumps.
> See notes for commit 490cb21f7.

That's 40cb21f7 actually. Thanks for the pointer.

> I think we've established an expectation
> that only a NULL argument will elicit a NULL return from PQhost.

OK, the current behavior wins then.
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Proposal for changes to recovery.conf API
Next
From: Peter Eisentraut
Date:
Subject: Re: Logical Replication WIP