Libpq PQExecParams returns null - Mailing list pgsql-interfaces

From Harry Hehl
Subject Libpq PQExecParams returns null
Date
Msg-id 6AD4F3A63B017C4FB074E2C895AD18542B6917@EXCHSRV.waterloonetworking.net
Whole thread Raw
List 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?






pgsql-interfaces by date:

Previous
From: "Harry Hehl"
Date:
Subject: Re: Libpq PQExecParams returns null
Next
From: Keary Suska
Date:
Subject: Re: libpq PQexecParams and arrays