Libpq PQExecParams returns null

Поиск
Список
Период
Сортировка
От Harry Hehl
Тема Libpq PQExecParams returns null
Дата
Msg-id 6AD4F3A63B017C4FB074E2C895AD18542B6917@EXCHSRV.waterloonetworking.net
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Harry Hehl"
Дата:
Сообщение: Re: Libpq PQExecParams returns null
Следующее
От: Keary Suska
Дата:
Сообщение: Re: libpq PQexecParams and arrays