Re: Any postgres API available to get errorcode for PQerrorMessage - Mailing list pgsql-general

From John R Pierce
Subject Re: Any postgres API available to get errorcode for PQerrorMessage
Date
Msg-id 543EAD31.3060208@hogranch.com
Whole thread Raw
In response to Re: Any postgres API available to get errorcode for PQerrorMessage  ("Roopeshakumar Narayansa Shalgar (rshalgar)" <rshalgar@cisco.com>)
List 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 by date:

Previous
From: "Roopeshakumar Narayansa Shalgar (rshalgar)"
Date:
Subject: Re: Any postgres API available to get errorcode for PQerrorMessage
Next
From: Jonathan Rogers
Date:
Subject: PL/Python prepare example's use of setdefault