Error Codes? - Mailing list pgsql-general

From Fran Fabrizio
Subject Error Codes?
Date
Msg-id 3BC494F3.7FBD31D9@mmrd.com
Whole thread Raw
In response to pypgsql 'create database' problem  (rdacker@pacbell.net (rdack))
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: "Christian Meunier"
Date:
Subject: phpPgAdmin and gborg.postgresql.org
Next
From: Eric D Nielsen
Date:
Subject: Problems install with Python...