OSDN Git Service

Add support for an optional INTO clause to PL/PgSQL's EXECUTE command.
authorNeil Conway <neilc@samurai.com>
Tue, 7 Jun 2005 02:47:23 +0000 (02:47 +0000)
committerNeil Conway <neilc@samurai.com>
Tue, 7 Jun 2005 02:47:23 +0000 (02:47 +0000)
commitc59887f91618b95f42a33d4c62dac35165a7910a
treec61d207d0329b53331d720651bd7a3728e3d3ccc
parent0f011f6daae65963cc29a1208bf662a7c13056c3
Add support for an optional INTO clause to PL/PgSQL's EXECUTE command.
This allows the result of executing a SELECT to be assigned to a row
variable, record variable, or list of scalars. Docs and regression tests
updated. Per Pavel Stehule, improvements and cleanup 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/plpgsql.h
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql