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

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support
Дата
Msg-id Pine.LNX.4.44.0505260918020.29321-100000@kix.fsv.cvut.cz
обсуждение исходный текст
Ответ на Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support  (Neil Conway <neilc@samurai.com>)
Список pgsql-committers
On Thu, 26 May 2005, Neil Conway wrote:

> 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.
>
true, there is not any reason use this variables outside exception
handler.

Pavel


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

Предыдущее
От: Pat
Дата:
Сообщение: Wallstreet Insider
Следующее
От: Barry@awebbiz.com
Дата:
Сообщение: aWebBiz Newsletter - AdSense Followup