Re: proposal: catch warnings

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: catch warnings
Date: 2007-01-07 09:55:03
Message-ID: 1168163704.3951.70.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2007-01-07 10:20:56 Re: proposal: catch warnings
Previous Message Dave Page 2007-01-07 09:33:22 Re: 8.3 pending patch queue