pgsql: Rename TABLE() to ROWS FROM(). - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Rename TABLE() to ROWS FROM().
Date
Msg-id E1VqOQI-0007ZL-NE@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: pgcrypto docs: update cpu type used in duration testing
Next
From: Tom Lane
Date:
Subject: pgsql: Fix possible crash with nested SubLinks.