| From: | "Harry Hehl" <Harry(dot)Hehl(at)diskstream(dot)com> |
|---|---|
| To: | <pgsql-interfaces(at)postgresql(dot)org> |
| Subject: | Libpq PQExecParams returns null |
| Date: | 2006-06-06 16:37:57 |
| Message-ID: | 6AD4F3A63B017C4FB074E2C895AD18542B6917@EXCHSRV.waterloonetworking.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
Hello
I am using 8.1.3 on FC4
Occasionally a query will fail. PQExecParams returns null and
PQerrorMessage returns an empty string. Subsequent calls succeed.
I found this from a previous post where PQexecPrepared return null.
"AFAIR the only reasons for a null result (instead of a possibly-error
PGresult) would be out-of-memory or connection failure."
I my case subsequent calls succeed and the application is not out of
memory.
What are the possibilities where PQExecParams returns null and
PQerrorMessage returns an empty string?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Harry Hehl | 2006-06-06 21:48:36 | Re: Libpq PQExecParams returns null |
| Previous Message | Bruce Momjian | 2006-06-06 16:18:03 | Re: Building psql.exe using the free Borland compiler |