Allow ORDER BY, LIMIT in sub-selects. Fix most (not all) cases where
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Nov 2000 00:15:54 +0000 (00:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Nov 2000 00:15:54 +0000 (00:15 +0000)
commit11f7b29054fd24c7e6dd1d2a8734cbebf3585b25
tree917e7ebbac724a341962e09cb9c775eaf2d1bab4
parent66436e66e1bfffb6ba3f11114c5b825e56437e7d
Allow ORDER BY, LIMIT in sub-selects.  Fix most (not all) cases where
the grammar did not allow redundant parentheses around sub-selects.
Distinguish LIMIT ALL from LIMIT 0; make the latter behave as one would
expect.
src/backend/executor/nodeLimit.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/optimizer/plan/planner.c
src/backend/parser/analyze.c
src/backend/parser/gram.y
src/backend/utils/adt/ruleutils.c
src/include/nodes/parsenodes.h