From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Dmitriy Igrishin <dmitigr(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: libpq |
Date: | 2010-08-12 15:04:52 |
Message-ID: | 14368.1281625492@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-sql |
Dmitriy Igrishin <dmitigr(at)gmail(dot)com> writes:
> Is it guaranteed that functions, which accept PGconn* (PGresult*)
> properly works if PGconn* (PGresult*) is NULL or is it better to check
> on NULL the value of the pointer before calling those functions?
I think they all do check for NULL, but whether they give back a default
result that's useful for you is harder to say.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitriy Igrishin | 2010-08-12 15:32:50 | libpq and TOO MANY CONNECTIONS |
Previous Message | Dmitriy Igrishin | 2010-08-12 14:47:42 | libpq |
From | Date | Subject | |
---|---|---|---|
Next Message | John Fabiani | 2010-08-16 14:52:57 | need to debug |
Previous Message | Dmitriy Igrishin | 2010-08-12 14:47:42 | libpq |