summaryrefslogtreecommitdiff
path: root/src/tutorial/complex.source
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2020-09-17 15:16:46 +0530
committerAmit Kapila <akapila@postgresql.org>2020-09-17 15:59:42 +0530
commitfcc3665a03a644204d0a3fdf8ec138e3ec93e593 (patch)
tree634d904f999b888ee3afd4010e8a1ac2faf797ad /src/tutorial/complex.source
parentd6d70f89a6f93dfd72b95ed840b0eb9089a48531 (diff)
Update parallel BTree scan state when the scan keys can't be satisfied.
For parallel btree scan to work for array of scan keys, it should reach BTPARALLEL_DONE state once for every distinct combination of array keys. This is required to ensure that the parallel workers don't try to seize blocks at the same time for different scan keys. We missed to update this state when we discovered that the scan keys can't be satisfied. Author: James Hunter Reviewed-by: Amit Kapila Tested-by: Justin Pryzby Backpatch-through: 10, where it was introduced Discussion: https://postgr.es/m/4248CABC-25E3-4809-B4D0-128E1BAABC3C@amazon.com
Diffstat (limited to 'src/tutorial/complex.source')
0 files changed, 0 insertions, 0 deletions