]> granicus.if.org Git - postgresql/commit
Cause plpgsql's PERFORM to behave according to its documentation,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 28 May 2001 19:33:24 +0000 (19:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 28 May 2001 19:33:24 +0000 (19:33 +0000)
commita056f14be0a22834b5fa7b90c0c5ea1ec42f2a29
tree02b4bf346284376f2973714070aa6cae9b52291a
parent505d9037cd097041e482ab69e8074c17270c9bb5
Cause plpgsql's PERFORM to behave according to its documentation,
which says that PERFORM will execute any SELECT query and discard the
result.  The former implementation would in fact raise an error if the
result contained more than one row or more than one column.

Also, change plpgsql's error-logging mechanism to emit the additional
messages about error location at NOTICE rather than DEBUG level.  This
allows them to be seen by the client without having to dig into the
postmaster log file (which may be nonexistent or inaccessible by the
client).
doc/src/sgml/plsql.sgml
src/pl/plpgsql/src/pl_exec.c