]> granicus.if.org Git - postgresql/commit
Add FOREACH IN ARRAY looping to plpgsql.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 16 Feb 2011 06:52:04 +0000 (01:52 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 16 Feb 2011 06:53:03 +0000 (01:53 -0500)
commit6e02755b22ea62775c906d29b87b55b38ab70bd2
tree726925e7176a6b845a7e19220b2a80baed1d08da
parent4695da5ae97bbb58d274887fd68edbe88d03ebcb
Add FOREACH IN ARRAY looping to plpgsql.

(I'm not entirely sure that we've finished bikeshedding the syntax details,
but the functionality seems OK.)

Pavel Stehule, reviewed by Stephen Frost and Tom Lane
doc/src/sgml/plpgsql.sgml
src/backend/utils/adt/arrayfuncs.c
src/include/utils/array.h
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/pl_funcs.c
src/pl/plpgsql/src/pl_scanner.c
src/pl/plpgsql/src/plpgsql.h
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql