Error Codes?

From: Fran Fabrizio <ffabrizio(at)mmrd(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Error Codes?
Date: 2001-10-10 18:35:31
Message-ID: 3BC494F3.7FBD31D9@mmrd.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Fran Fabrizio 2001-10-10 18:48:13 Error Codes?
Previous Message Gaurav Priyolkar 2001-10-10 18:21:25 "Relation x does not exist" error when x does exist