Thread: Error codes to go with errors?

Error codes to go with errors?

From
"Grant Allen"
Date:
Hi all,

I've been hunting around the techdocs site looking for a comprehensive list of error codes for certain errors.  The
onlything I can find is a list of a few (textual) errors - nothing that includes codes/numbers, and nothing
comprehensive. This is making it hard to catch specific errors ... can anyone point me to a list somewhere (or tell me
thebad news that PostgreSQL lacks error codes). 

Ciao
Fuzzy
:-)

----------------------------------
"Everything you think, do, and say
 was in the pill you took today."
 -- Zager and Evans

Re: Error codes to go with errors?

From
Tom Lane
Date:
"Grant Allen" <Grant.Allen@towersoft.com.au> writes:
> I've been hunting around the techdocs site looking for a comprehensive
> list of error codes for certain errors.

Are you looking for
http://www.postgresql.org/docs/7.4/static/errcodes-appendix.html
?

            regards, tom lane

Re: Error codes to go with errors?

From
"Grant Allen"
Date:
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: Monday, 16 August 2004 13:52
> To: Grant Allen
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] Error codes to go with errors?
>
>
> "Grant Allen" <Grant.Allen@towersoft.com.au> writes:
> > I've been hunting around the techdocs site looking for a
> comprehensive
> > list of error codes for certain errors.
>
> Are you looking for
> http://www.postgresql.org/docs/7.4/static/errcodes-appendix.html
> ?
>
>             regards, tom lane
>

Yes!  Thanks Tom ... I was obviously hunting on the wrong site.

Ciao
Fuzzy
:-)

----------------------------------
"Everything you think, do, and say
 was in the pill you took today."
 -- Zager and Evans