On Mon, Mar 26, 2018 at 09:03:17PM -0700, David G. Johnston wrote: > And yes, while I'm not sure right now what the multi-value condition logic > results in it should be mentioned - at least if the goal of the docs is to > be a sufficient resource for using these functions. In particular what > happens when the connection is inactive (unless that falls under "cannot be > evaluated"...).
Yes, the fast that it is not possible to rely on the return value for multiple hosts as long as the connection is not sanely established needs to be documented anyway. For example if a client uses PQconnectStart() for an asynchronous start then connhost is initialized with whichhost set to 0, so PQhost won't return an empty string. -- Michael
signature.asc
Description: PGP signature