Re: Any postgres API available to get errorcode for PQerrorMessage

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Any postgres API available to get errorcode for PQerrorMessage
Дата
Msg-id 543EAD31.3060208@hogranch.com
обсуждение исходный текст
Ответ на Re: Any postgres API available to get errorcode for PQerrorMessage  ("Roopeshakumar Narayansa Shalgar (rshalgar)" <rshalgar@cisco.com>)
Список pgsql-general
On 10/15/2014 9:48 AM, Roopeshakumar Narayansa Shalgar (rshalgar) wrote:
> I need the 'integer' errorcode

SQLSTATE Error codes are NOT integers, they are strings.  note there's
stuff in there like 0100C, 01P01, etc.


--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: "Roopeshakumar Narayansa Shalgar (rshalgar)"
Дата:
Сообщение: Re: Any postgres API available to get errorcode for PQerrorMessage
Следующее
От: Jonathan Rogers
Дата:
Сообщение: PL/Python prepare example's use of setdefault