Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support
Дата
Msg-id 42954493.6030505@samurai.com
обсуждение исходный текст
Ответ на Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support
Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support
Список pgsql-committers
Tom Lane wrote:
> Alternatively we could make them local to any block that contains an
> EXCEPTION clause, which would fix point 3 and also go a long way towards
> addressing the unnecessary-overhead gripe.  However that would mean that
> an attempt to reference them from outside an exception handler would
> probably fail outright, rather than deliver either NULLs or
> 00000/"Successful completion".

This behavior sounds fine to me.

-Neil

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Minor cleanup for recent SQLSTATE / SQLERRM patch: spell
Следующее
От: Neil Conway
Дата:
Сообщение: Re: pgsql: Minor cleanup for recent SQLSTATE / SQLERRM