pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Keary Suska <hierophant@pcisys.net>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Libpq and PGConn
Date: Wed, 29 Mar 2006 12:15:56 -0500
Message-ID: <22965.1143652556@sss.pgh.pa.us> (raw)
In-Reply-To: <C0500A10.279F6%hierophant@pcisys.net>
References: <C0500A10.279F6%hierophant@pcisys.net>

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



view thread (4+ messages)  latest in thread

Message-ID: <22965.1143652556@sss.pgh.pa.us>
Permalink:  ../22965.1143652556@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22965.1143652556@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hierophant@pcisys.net
  Subject: Re: Libpq and PGConn
  In-Reply-To: <22965.1143652556@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox