pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Why no exprs in format string to RAISE
3+ messages / 3 participants
[nested] [flat]

* Why no exprs in format string to RAISE
@ 2004-07-04 21:21 Markus Bertheau <twanger@bluetwanger.de>
  2004-07-05 11:34 ` Re: Why no exprs in format string to RAISE Richard Huxton <dev@archonet.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Markus Bertheau @ 2004-07-04 21:21 UTC (permalink / raw)
  To: pgsql-sql

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?

Thanks.

-- 
Markus Bertheau <twanger@bluetwanger.de>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Why no exprs in format string to RAISE
  2004-07-04 21:21 Why no exprs in format string to RAISE Markus Bertheau <twanger@bluetwanger.de>
@ 2004-07-05 11:34 ` Richard Huxton <dev@archonet.com>
  2004-07-06 17:26   ` Re: Why no exprs in format string to RAISE Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Richard Huxton @ 2004-07-05 11:34 UTC (permalink / raw)
  To: Markus Bertheau <twanger@bluetwanger.de>; +Cc: pgsql-sql

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.

-- 
   Richard Huxton
   Archonet Ltd



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Why no exprs in format string to RAISE
  2004-07-04 21:21 Why no exprs in format string to RAISE Markus Bertheau <twanger@bluetwanger.de>
  2004-07-05 11:34 ` Re: Why no exprs in format string to RAISE Richard Huxton <dev@archonet.com>
@ 2004-07-06 17:26   ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Bruce Momjian @ 2004-07-06 17:26 UTC (permalink / raw)
  To: Richard Huxton <dev@archonet.com>; +Cc: Markus Bertheau <twanger@bluetwanger.de>; 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, Pennsylvania 19073



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2004-07-06 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-07-04 21:21 Why no exprs in format string to RAISE Markus Bertheau <twanger@bluetwanger.de>
2004-07-05 11:34 ` Richard Huxton <dev@archonet.com>
2004-07-06 17:26   ` Bruce Momjian <pgman@candle.pha.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox