Boulat Khakimov <boulat(at)inet-interactif(dot)com> writes:
> I'm wondering how safe it is to pass an uninitialized conn to
> PQfinish....
You can pass a NULL pointer to PQfinish safely, if that's what you
meant. Passing a pointer to uninitialized memory seems like a bad
idea.
regards, tom lane