Re: Getting error codes for failed queries? - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Getting error codes for failed queries?
Date
Msg-id Pine.LNX.4.44.0310152021330.21950-100000@peter.localdomain
Whole thread Raw
In response to Getting error codes for failed queries?  (Alejandro Forero Cuervo <bachue@bachue.com>)
Responses Re: Getting error codes for failed queries?
List pgsql-general
Alejandro Forero Cuervo writes:

> I could also  parse the error string and try  to detect what went
> wrong based  on it, but  I'd rather  stay away from  that option,
> which  doesn't look  very  maintainable.  Or  should  I do  that?

In 7.4 there will be error codes.

> Do  those  strings get  translated  to  different languages,  for
> instance?

Yes.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: VACUUM degrades performance significantly. Database
Next
From: Peter Eisentraut
Date:
Subject: Re: constant time count(*) ?