postgresql/src/include/optimizer
Amit Kapila 75f9c4ca5a Don't allow LIMIT/OFFSET clause within sub-selects to be pushed to workers.
Allowing sub-select containing LIMIT/OFFSET in workers can lead to
inconsistent results at the top-level as there is no guarantee that the
row order will be fully deterministic.  The fix is to prohibit pushing
LIMIT/OFFSET within sub-selects to workers.

Reported-by: Andrew Fletcher
Bug: 15324
Author: Amit Kapila
Reviewed-by: Dilip Kumar
Backpatch-through: 9.6
Discussion: https://postgr.es/m/153417684333.10284.11356259990921828616@wrigleys.postgresql.org
2018-09-14 09:36:30 +05:30
..
clauses.h Support named and default arguments in CALL 2018-04-14 09:13:53 -04:00
cost.h Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
geqo.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_copy.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_gene.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_misc.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_mutation.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_pool.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_random.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_recombination.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
geqo_selection.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
joininfo.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
orclauses.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
pathnode.h Fix bugs with degenerate window ORDER BY clauses in GROUPS/RANGE mode. 2018-07-11 12:07:20 -04:00
paths.h Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
placeholder.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
plancat.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
planmain.h Tweak a couple of planner APIs to save recalculating join relids. 2018-04-20 16:00:47 -04:00
planner.h Don't allow LIMIT/OFFSET clause within sub-selects to be pushed to workers. 2018-09-14 09:36:30 +05:30
predtest.h Improve predtest.c's internal docs, and enhance its functionality a bit. 2018-03-09 16:58:26 -05:00
prep.h Fix improper uses of canonicalize_qual(). 2018-03-11 18:10:42 -04:00
restrictinfo.h Fix incorrect handling of join clauses pushed into parameterized paths. 2018-04-19 15:49:30 -04:00
subselect.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
tlist.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
var.h Update copyright for 2018 2018-01-02 23:30:12 -05:00