Re: Getting error codes for failed queries?

From: Alejandro Forero Cuervo <bachue(at)bachue(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
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:53:49
Message-ID: 20031015185349.GA2251@bachue.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> In 7.4 there will be error codes.

Does that imply that the socket-level protocol for backend /
frontend communication will change in version 7.4?

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

I guess that rules out the option of parsing them to detect what
went wrong.

Thank you.

Alejo.
http://bachue.com/alejo

--
The mere formulation of a problem is far more essential than its solution.
-- Albert Einstein.

$0='!/sfldbi!yjoV0msfQ!sfiupob!utvK'x44;print map{("\e[7m \e[0m",chr ord
(chop$0)-1)[$_].("\n")[++$i%77]}split//,unpack'B*',pack'H*',($F='F'x19).
"F0F3E0607879CC1E0F0F339F3FF399C666733333CCF87F99E6133999999E67CFFCCF3".
"219CC1CCC033E7E660198CCE4E66798303873CCE60F3387$F"#Don't you love Perl?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kaarel 2003-10-15 18:58:55 Re: Triggers tutorial
Previous Message scott.marlowe 2003-10-15 18:44:55 Re: Porting Code to Postgresql