Re: Why no exprs in format string to RAISE

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: Markus Bertheau <twanger(at)bluetwanger(dot)de>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Why no exprs in format string to RAISE
Date: 2004-07-06 17:26:17
Message-ID: 200407061726.i66HQHW25276@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message B.W.H. van Beest 2004-07-06 18:37:49 How to filter on timestamps?
Previous Message Tom Lane 2004-07-06 13:37:59 Re: [SQL] Immutable function in index