Re: proposal: catch warnings

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: proposal: catch warnings
Дата
Msg-id 1168163704.3951.70.camel@silverbirch.site
обсуждение исходный текст
Ответ на proposal: catch warnings  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Ответы Re: proposal: catch warnings  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Список pgsql-hackers
On Sun, 2007-01-07 at 09:59 +0100, Pavel Stehule wrote:

> PostgreSQL allow only catch exception (elevel ERROR). SQL/PSM requires that 
> warnings are catchable too. Simply solution's is adding one callback  to 
> error's processing of errors on level WARNING.

Exceptions are run within their own subtransaction, so the exception
handling code runs separately.

Does the PSM warning error handler run in the same transaction or a
separate subtransaction? Can transaction execution continue afterwards?

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: 8.3 pending patch queue
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: proposal: catch warnings