Re: Getting error codes for failed queries?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Getting error codes for failed queries?
Дата
Msg-id 20031015190206.GD1016@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Getting error codes for failed queries?  (Alejandro Forero Cuervo <bachue@bachue.com>)
Ответы Re: Getting error codes for failed queries?
Список pgsql-general
On Wed, Oct 15, 2003 at 01:53:49PM -0500, Alejandro Forero Cuervo wrote:
> > 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?

Yes.

> > > 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.

Yes, unless you leave to lc_messages option defined to "C".
Unfortunately this cannot be changed at runtime by non-superusers, I
don't know why.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Porque Kim no hacia nada, pero, eso sí,
con extraordinario éxito" ("Kim", Kipling)

В списке pgsql-general по дате отправления:

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: constant time count(*) ?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Porting Code to Postgresql