| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Rename TABLE() to ROWS FROM(). |
| Date: | 2013-12-10 14:36:30 |
| Message-ID: | E1VqOQI-0007ZL-NE@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2013-12-10 21:11:06 | pgsql: Fix possible crash with nested SubLinks. |
| Previous Message | Andres Freund | 2013-12-10 00:53:56 | Re: pgsql: Fix a couple of bugs in MultiXactId freezing |