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