Error Codes? - Mailing list pgsql-general

From Fran Fabrizio
Subject Error Codes?
Date
Msg-id 3BC497ED.25C3D2CF@mmrd.com
Whole thread Raw
List pgsql-general
I'm a bit confused about the current state of error codes in Pg.  The
docs and
the mailing list archives seem to indicate that this is a TODO item,
however,
at least when using Perl with DBD::Pg, when I call $db->err() or examine

$DBI::err I get a number back.  For instance, 7 if I try to insert too
many
columns into a row, and a 1 if the connection fails.  What's the scoop,
and if
error codes really do exist, is there a list of such codes?

Thanks,
Fran


pgsql-general by date:

Previous
From: Gaurav Priyolkar
Date:
Subject: "Relation x does not exist" error when x does exist
Next
From: "Rob Arnold"
Date:
Subject: Re: Error Codes?