Re: Why no exprs in format string to RAISE - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: Why no exprs in format string to RAISE
Date
Msg-id 200407061726.i66HQHW25276@candle.pha.pa.us
Whole thread Raw
In response to Re: Why no exprs in format string to RAISE  (Richard Huxton <dev@archonet.com>)
List pgsql-sql
Richard Huxton wrote:
> Markus Bertheau wrote:
> > Hi,
> > 
> > is there a non-implementation reason as to why there are no expressions
> > allowed in the arguments to the format string to RAISE, or is that just
> > not implemented yet?
> 
> Just not done yet AFAIK. It would require some changes to the parser for 
>   plpgsql, but nothing too extreme. Might make a good project for 
> someone learning more about PG's code.

TODO has:
       o Allow PL/PgSQL's RAISE function to take expressions

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Immutable function in index
Next
From: "Pradeepkumar, Pyatalo (IE10)"
Date:
Subject: Triggers - need help !!!