pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Sabino Mullane <greg@turnstep.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: Error code handling in perl
Date: Sat, 22 May 2004 01:00:30 -0000
Message-ID: <0d48f697d3e150fd1633875216f4c1be@biglumber.com> (raw)
In-Reply-To: <200405161456.10022.elinor@bellatrix.tau.ac.il>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
 
> although in the documentation it says that the error code is
> "23505" (unique violation).
> Is there no way to identify the error by code from postgres
> via perl?
 
Currently, DBD::Pg does not support the $sth->state method, but
it is high on the todo list and should appear in the next
version.
 
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200405212100
 
-----BEGIN PGP SIGNATURE-----
 
iD8DBQFArqaMvJuQZxSWSsgRAlYLAKDykM8K4Fyfy+neIjA2a3B+NI4x2wCbBc04
GiaVC2lYiMfuVQfEG/2jKiY=
=1kvf
-----END PGP SIGNATURE-----





view thread (2+ messages)

Message-ID: <0d48f697d3e150fd1633875216f4c1be@biglumber.com>
Permalink:  ../0d48f697d3e150fd1633875216f4c1be@biglumber.com/
Also on:    postgresql.org/message-id/0d48f697d3e150fd1633875216f4c1be@biglumber.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-interfaces@postgresql.org
  Cc: greg@turnstep.com
  Subject: Re: Error code handling in perl
  In-Reply-To: <0d48f697d3e150fd1633875216f4c1be@biglumber.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox