Re: proposal: plpgsql - Assert statement - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: proposal: plpgsql - Assert statement
Date
Msg-id 540E966C.40801@2ndquadrant.com
Whole thread Raw
In response to Re: proposal: plpgsql - Assert statement  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: proposal: plpgsql - Assert statement  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On 09/09/2014 05:20 AM, Robert Haas wrote:
> 
> I previously proposed RAISE ASSERT ... WHERE, which seems like a nice
> variant of what we've already got, but perhaps this whole discussion
> merely illustrates that it's hard to get more than 1 vote for any
> proposal in this area.

Well, you have Petr's for RAISE EXCEPTION ... WHEN, and I'd also like
that or RAISE ASSERT ... WHEN.

Much (much) saner than the other proposals on this thread IMO.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: proposal: plpgsql - Assert statement
Next
From: Heikki Linnakangas
Date:
Subject: Re: Stating the significance of Lehman & Yao in the nbtree README