Keary Suska <hierophant@pcisys.net> writes:
> What happens if a null pointer is sent to any libpq function for the PGConn
> parameter?
AFAIR they all check for that and fail in a reasonably clean fashion.
Have you found one that doesn't?
regards, tom lane