aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
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:16:46 +0530
commit0abd9cd2f3a1cad201ca28767aa0a720cc341179 (patch)
tree0cb0d46b7ad1e334dd27d3a6f4174c7ffe1842f1 /src/backend/utils/adt/jsonpath_exec.c
parentbfb12cd2b59da2ce51a9c86bf2c468202d8f96ee (diff)
downloadpostgresql-0abd9cd2f3a1cad201ca28767aa0a720cc341179.tar.gz
postgresql-0abd9cd2f3a1cad201ca28767aa0a720cc341179.zip
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/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions