agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: John R Pierce <pierce@hogranch.com>
To: pgsql-general@postgresql.org
Subject: Re: Any postgres API available to get errorcode for PQerrorMessage
Date: Wed, 15 Oct 2014 10:21:53 -0700
Message-ID: <543EAD31.3060208@hogranch.com> (raw)
In-Reply-To: <F9567754259D974D88F5F5337C9D219620BD0F23@xmb-aln-x11.cisco.com>
References: <F9567754259D974D88F5F5337C9D219620BD0C43@xmb-aln-x11.cisco.com>
<4478.1413390995@sss.pgh.pa.us>
<F9567754259D974D88F5F5337C9D219620BD0F23@xmb-aln-x11.cisco.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
view thread (8+ messages) latest in thread
Message-ID: <543EAD31.3060208@hogranch.com>
Permalink: ../543EAD31.3060208@hogranch.com/
Also on: postgresql.org/message-id/543EAD31.3060208@hogranch.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pierce@hogranch.com, pgsql-general@postgresql.org
Subject: Re: Any postgres API available to get errorcode for PQerrorMessage
In-Reply-To: <543EAD31.3060208@hogranch.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox