Re: libpq PQexecPrepared returns NULL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq PQexecPrepared returns NULL
Дата
Msg-id 25837.1078413530@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: libpq PQexecPrepared returns NULL  (Gergely Czuczy <phoemix@harmless.hu>)
Список pgsql-interfaces
Gergely Czuczy <phoemix@harmless.hu> writes:
> the strange thing is -- what i've forgot to mention -- is that
> PQerrorMessage returns an empty string, so from this i don't know the
> source of the error.

That's messy.  I'd recommend getting out a debugger and tracing through
it to see exactly where it's failing.  Or put in some printf's.  There
aren't that many paths that could return NULL.  I guess one of them must
be forgetting to set PQerrorMessage, which seems like a bug to me.  Let
us know what you find out.
        regards, tom lane


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Gergely Czuczy
Дата:
Сообщение: Re: libpq PQexecPrepared returns NULL
Следующее
От: "Jason C. Wells"
Дата:
Сообщение: Success with pgtclng