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

From Tom Lane
Subject Re: Assertions in PL/PgSQL
Date
Msg-id 19134.1384726232@sss.pgh.pa.us
Whole thread Raw
In response to Re: Assertions in PL/PgSQL  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Assertions in PL/PgSQL  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Assertions in PL/PgSQL  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> [ rebased patch for RAISE WHEN ]

I have to say I do not see the point of this.  It does nothing you
can't do already with "IF condition THEN RAISE ...".  And frankly
the RAISE statement has got too darn many options already.  We don't
need yet more cruft on it that we'll have to maintain forevermore.

If this were improving standards compliance somehow, I'd be okay
with it; but what other implementation has got this?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: additional json functionality
Next
From: Hannu Krosing
Date:
Subject: Re: additional json functionality