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

From Jaime Casanova
Subject Re: Assertions in PL/PgSQL
Date
Msg-id CAJKUy5h_fGd09Uu7x2N951f-TV0DBce0E1AFgbH8BwoRz-EG-g@mail.gmail.com
Whole thread Raw
In response to Re: Assertions in PL/PgSQL  (Marko Tiikkaja <marko@joh.to>)
List pgsql-hackers
<p><br /> El 15/09/2013 17:13, "Marko Tiikkaja" <<a href="mailto:marko@joh.to">marko@joh.to</a>> escribió:<br />
><br/> > On 2013-09-15 23:23, Jaime Casanova wrote:<br /> >><br /> >> If using ASSERT as keyword is
notacceptable, not that i agree but in case.<br /> >> What about using RAISE EXCEPTION WHEN (condition)<br />
><br/> ><br /> > I think it would be extremely surprising if a command like that got optimized away based on a
GUC,so I don't think that would be a good idea.<br /> ><br /> ><p>Ah! good point, didn't think on that<p>--<br />
JaimeCasanova<br /> 2ndQuadrant: Your PostgreSQL partner  

pgsql-hackers by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: Assertions in PL/PgSQL
Next
From: Noah Misch
Date:
Subject: Re: record identical operator