Rename TABLE() to ROWS FROM().
SQL-standard TABLE() is a subset of UNNEST(); they deal with arrays and
other collection types. This feature, however, deals with set-returning
functions. Use a different syntax for this feature to keep open the
possibility of implementing the standard TABLE().
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/53685d79813a46c7e3a46ae4b1210f608d41d6ab
Modified Files
--------------
doc/src/sgml/queries.sgml | 16 ++---
doc/src/sgml/ref/select.sgml | 19 +++---
src/backend/nodes/copyfuncs.c | 2 +-
src/backend/nodes/equalfuncs.c | 2 +-
src/backend/nodes/outfuncs.c | 2 +-
src/backend/parser/gram.y | 29 ++++-----
src/backend/parser/parse_clause.c | 14 ++---
src/backend/utils/adt/ruleutils.c | 14 ++---
src/include/nodes/parsenodes.h | 6 +-
src/test/regress/expected/rangefuncs.out | 98 +++++++++++++++---------------
src/test/regress/sql/rangefuncs.sql | 44 +++++++-------
11 files changed, 123 insertions(+), 123 deletions(-)