Re: Getting error codes for failed queries?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alejandro Forero Cuervo <bachue(at)bachue(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, <boti(at)nimonic(dot)com>
Subject: Re: Getting error codes for failed queries?
Date: 2003-10-15 18:21:57
Message-ID: Pine.LNX.4.44.0310152021330.21950-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2003-10-15 18:25:39 Re: constant time count(*) ?
Previous Message Mark Harrison 2003-10-15 18:00:10 constant time count(*) ?