]> granicus.if.org Git - postgresql/commit
Allow the parameters to PL/PgSQL's RAISE statement to be expressions,
authorNeil Conway <neilc@samurai.com>
Tue, 14 Jun 2005 06:43:15 +0000 (06:43 +0000)
committerNeil Conway <neilc@samurai.com>
Tue, 14 Jun 2005 06:43:15 +0000 (06:43 +0000)
commitd6636543c4becc4ba9989af8e5b490e1ee2e7c0e
tree93479621c179876cee82edb2c79293c975b0a8c4
parentbd6bf50b032a6d095c7f1513aa209d632b264a2f
Allow the parameters to PL/PgSQL's RAISE statement to be expressions,
instead of just scalar variables. Add regression tests and update the
documentation. Along the way, remove some redundant error checking
code from exec_stmt_perform().

Original patch from Pavel Stehule, reworked by Neil Conway.
doc/src/sgml/plpgsql.sgml
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/pl_funcs.c
src/pl/plpgsql/src/plpgsql.h
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql