Implement the basic form of UNNEST, ie unnest(anyarray) returns setof
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Nov 2008 00:51:47 +0000 (00:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Nov 2008 00:51:47 +0000 (00:51 +0000)
commitd585c8d5674615eceeca493e22c4dcab19b11155
tree7d2f7d5ea07dea6535f1d7dc85282cfe70e309c0
parentbd1e201e16641c2a47b99d9e75c22d0dbee87780
Implement the basic form of UNNEST, ie unnest(anyarray) returns setof
anyelement.  This lacks the WITH ORDINALITY option, as well as the multiple
input arrays option added in the most recent SQL specs.  But it's still a
pretty useful subset of the spec's functionality, and it is enough to
allow obsoleting contrib/intagg.
doc/src/sgml/func.sgml
src/backend/utils/adt/arrayfuncs.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/array.h
src/test/regress/expected/arrays.out
src/test/regress/sql/arrays.sql