Re: Assertions in PL/PgSQL

From: Marko Tiikkaja <marko(at)joh(dot)to>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Assertions in PL/PgSQL
Date: 2013-09-17 22:09:34
Message-ID: 5238D31E.30306@joh.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2013-09-17 22:16:19 Re: Updatable view columns
Previous Message Alvaro Herrera 2013-09-17 21:59:55 Re: Minmax indexes