Equivalent of PQresultErrorField for PGconn?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Equivalent of PQresultErrorField for PGconn?
Дата
Msg-id Pine.LNX.4.56.0307271721000.1197@krusty.credativ.de
обсуждение исходный текст
Ответы Re: Equivalent of PQresultErrorField for PGconn?
Список pgsql-hackers
I seem to be missing an equivalent of PQresultErrorField() that operates
on a PGconn object (like PQerrorMessage() does).  This would be useful to
detect errors that occur outside of a statement execution.

(One particular case I'm looking at is the message "fe_sendauth: no
password supplied", which clients look at to detect if they need to send a
password.)

-- 
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: developer.postgresql.org is broken
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Some macros for error field codes