]> granicus.if.org Git - postgresql/commit
Add STRICT to PL/pgSQL SELECT INTO, so exceptions are thrown if more or
authorBruce Momjian <bruce@momjian.us>
Thu, 15 Jun 2006 18:02:22 +0000 (18:02 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 15 Jun 2006 18:02:22 +0000 (18:02 +0000)
commita584c12426ae07d6d765c0c321ced5726e497044
tree5143f96744a6536cc1e92865b68b4f4cd4e43429
parenteb5558bce8a6505e9442ea9fbd6010296057a278
Add STRICT to PL/pgSQL SELECT INTO, so exceptions are thrown if more or
less than one row is returned by the SELECT, for Oracle PL/SQL
compatibility.

Improve SELECT INTO documentation.

Matt Miller
doc/src/sgml/plpgsql.sgml
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/plerrcodes.h
src/pl/plpgsql/src/plpgsql.h
src/pl/plpgsql/src/scan.l