Re: Libpq and PGConn

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Keary Suska <hierophant(at)pcisys(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Libpq and PGConn
Date: 2006-03-29 17:15:56
Message-ID: 22965.1143652556@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Keary Suska <hierophant(at)pcisys(dot)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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Alistair Bayley 2006-03-29 20:43:10 Example libpq program fails when built with mingw ld-2.15.91 on WinXP (but not ld-2.13.90)
Previous Message Keary Suska 2006-03-29 16:55:28 Libpq and PGConn