Re: proposal: catch warnings - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: proposal: catch warnings
Date
Msg-id 1168163704.3951.70.camel@silverbirch.site
Whole thread Raw
In response to proposal: catch warnings  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Responses Re: proposal: catch warnings  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
List 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 by date:

Previous
From: Dave Page
Date:
Subject: Re: 8.3 pending patch queue
Next
From: "Pavel Stehule"
Date:
Subject: Re: proposal: catch warnings