Error message documentation ?

From: Bill Kurland <bill(at)shakespeare-nyc(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Error message documentation ?
Date: 2003-01-01 05:01:15
Message-ID: 3E12761B.9060903@shakespeare-nyc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello folks:

I am using the perl DBI to connect to a postgreSQL database and thought it
would be a good idea to anticipate and handle errors returned by postgreSQL
in my perl code so the end users don't have to deal with mysterious
error messages
they don't understand. "Programming the Perl DBI" suggests using
$h->errstr() but
says that the message is determined by the underlying database.

I've checked a couple of PostgreSQL books and the online docs as well
as the web but haven't found any kind of list of the possibilities. It
would
seem that if it were useful to know them someone would have documented it,
but I haven't found any references to such a list.

Does such a list exist?

Thanks

--

Bill Kurland
Shakespeare & Co.

"There is no Modesty--No attention to one another. They talk very loud,
very fast,and alltogether.If they ask you a Question, before you can
utter 3 words of your Answer, they will break out upon you, again--and
talk away"
--John Adams, on New Yorkers

Responses

Browse pgsql-general by date

  From Date Subject
Next Message F.Brkic 2003-01-01 10:11:12 Thanks! Got it! All's OK now! was: Is postgresql download still working?
Previous Message Joshua D. Drake 2002-12-31 20:34:48 Re: question