diff options
| author | Noah Misch | 2013-12-10 14:34:37 +0000 |
|---|---|---|
| committer | Noah Misch | 2013-12-10 14:34:37 +0000 |
| commit | 53685d79813a46c7e3a46ae4b1210f608d41d6ab (patch) | |
| tree | 8760f628f2d5baf874307624248f92e80475d9ca /src/backend/nodes | |
| parent | 01cc1fecfdecc37649b3996100ab1f03ccc8ab7e (diff) | |
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().
Diffstat (limited to 'src/backend/nodes')
| -rw-r--r-- | src/backend/nodes/copyfuncs.c | 2 | ||||
| -rw-r--r-- | src/backend/nodes/equalfuncs.c | 2 | ||||
| -rw-r--r-- | src/backend/nodes/outfuncs.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index e3edcf6f74..cd8a11b8d5 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -2310,7 +2310,7 @@ _copyRangeFunction(const RangeFunction *from) COPY_SCALAR_FIELD(lateral); COPY_SCALAR_FIELD(ordinality); - COPY_SCALAR_FIELD(is_table); + COPY_SCALAR_FIELD(is_rowsfrom); COPY_NODE_FIELD(functions); COPY_NODE_FIELD(alias); COPY_NODE_FIELD(coldeflist); diff --git a/src/backend/nodes/equalfuncs.c b/src/backend/nodes/equalfuncs.c index 1f9b5d70f5..6188114060 100644 --- a/src/backend/nodes/equalfuncs.c +++ b/src/backend/nodes/equalfuncs.c @@ -2142,7 +2142,7 @@ _equalRangeFunction(const RangeFunction *a, const RangeFunction *b) { COMPARE_SCALAR_FIELD(lateral); COMPARE_SCALAR_FIELD(ordinality); - COMPARE_SCALAR_FIELD(is_table); + COMPARE_SCALAR_FIELD(is_rowsfrom); COMPARE_NODE_FIELD(functions); COMPARE_NODE_FIELD(alias); COMPARE_NODE_FIELD(coldeflist); diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c index 4c7505e334..22c7d40156 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -2629,7 +2629,7 @@ _outRangeFunction(StringInfo str, const RangeFunction *node) WRITE_BOOL_FIELD(lateral); WRITE_BOOL_FIELD(ordinality); - WRITE_BOOL_FIELD(is_table); + WRITE_BOOL_FIELD(is_rowsfrom); WRITE_NODE_FIELD(functions); WRITE_NODE_FIELD(alias); WRITE_NODE_FIELD(coldeflist); |
