Re: How do I get more error codes from libpq

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: How do I get more error codes from libpq
Дата
Msg-id 20051012031428.GA27278@winnie.fuhr.org
обсуждение исходный текст
Ответ на How do I get more error codes from libpq  (Fangbing Wu <fangbingw@gmail.com>)
Ответы Re: How do I get more error codes from libpq  (Fangbing Wu <fangbingw@gmail.com>)
Список pgsql-interfaces
On Tue, Oct 11, 2005 at 10:59:19PM -0400, Fangbing Wu wrote:
> I'm just getting started to use libpq to access my DB with
> PQexecParam etc.
> I'm still searching for ways to get detailed error codes from libpq,
> say when a request was denied due to permission etc.
> Is stuff like this possible?

Yes, just read a little farther down the "Command Execution Functions"
documentation:

http://www.postgresql.org/docs/8.0/interactive/libpq-exec.html

-- 
Michael Fuhr


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

Предыдущее
От: Fangbing Wu
Дата:
Сообщение: How do I get more error codes from libpq
Следующее
От: Fangbing Wu
Дата:
Сообщение: Re: How do I get more error codes from libpq