May 2020

2 commits
Do no reset bounded before incremental sort rescan
9 May 2020Tomas Vondramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #51 of 1 reviewer saw the final version

This commit takes only the third patch of #5, deleting node->bounded = false from ExecReScanIncrementalSort in src/backend/executor/nodeIncrementalSort.c. That individual patch landed unchanged apart from its surrounding context.

  • Tomas Vondrasaw the final versiontrailerTomas accepted the bounded-reset issue as a legitimate bug in #11 and committed the fix, reporting completion in #13.
Fix handling of REWIND/MARK/BACKWARD in incremental sort
9 May 2020Tomas Vondramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #51 of 1 reviewer saw the final version

This commit takes the second patch of #5, with rewritten comments and removal of the entire child-node flag mask instead of retaining BACKWARD/MARK masking in src/backend/executor/nodeIncrementalSort.c. The explicit mark/restore rejection was dropped as redundant in #11 and #12, while the bounded-reset fix landed separately.

  • Tomas Vondrasaw the final versiontrailerTomas reviewed REWIND semantics and the redundant mark/restore check in #11, then committed the revised flag handling and explained the final edits in #13.

Credits across 2 commits

Author
James Coleman2
Reviewer
Tomas Vondra2
Reported by
Michael Paquier1
Committer
Tomas Vondra2