Re: Assertions in PL/PgSQL - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: Assertions in PL/PgSQL
Date
Msg-id 5238D31E.30306@joh.to
Whole thread Raw
In response to Re: Assertions in PL/PgSQL  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Assertions in PL/PgSQL
List pgsql-hackers
On 2013-09-16 21:24, Pavel Stehule wrote:
> 2. a failed assert should to raise a exception, that should not be handled
> by any exception handler - similar to ERRCODE_QUERY_CANCELED - see
> exception_matches_conditions.

I'm not sure what I think about that idea.  I see decent arguments for 
it working either way.  Care to unravel yours a bit more?


Regards,
Marko Tiikkaja



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Minmax indexes
Next
From: Marko Tiikkaja
Date:
Subject: Re: Updatable view columns