summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-11-18 14:17:41 +0530
committerAmit Kapila <akapila@postgresql.org>2019-11-26 09:07:35 +0530
commitd0ccfa9d6a3da0a47ee02947f54dd36f9f90972c (patch)
tree9f881819d08af8331d0e4d2d8c66356b5c68c991 /doc/src
parentd9bb71947949b79f72a555e6d1d7d17ec8580455 (diff)
Don't shut down Gather[Merge] early under Limit.
Revert part of commit 19df1702f5. Early shutdown was added by that commit so that we could collect statistics from workers, but unfortunately, it interacted badly with rescans. The problem is that we ended up destroying the parallel context which is required for rescans. This leads to rescans of a Limit node over a Gather node to produce unpredictable results as it tries to access destroyed parallel context. By reverting the early shutdown code, we might lose statistics in some cases of Limit over Gather [Merge], but that will require further study to fix. Reported-by: Jerry Sievers Diagnosed-by: Thomas Munro Author: Amit Kapila, testcase by Vignesh C Backpatch-through: 9.6 Discussion: https://postgr.es/m/87ims2amh6.fsf@jsievers.enova.com
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions