postgresql/src/backend/access
Amit Kapila b7f2dd959a 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
2020-09-17 16:11:48 +05:30
..
brin Remove some more useless assignments. 2020-09-04 14:32:19 -04:00
common Yet more elimination of dead stores and useless initializations. 2020-09-05 13:17:32 -04:00
gin Remove some more useless assignments. 2020-09-04 14:32:19 -04:00
gist Add support for building GiST index by sorting. 2020-09-17 11:33:40 +03:00
hash Invent "amadjustmembers" AM method for validating opclass members. 2020-08-01 17:12:47 -04:00
heap Message fixes and style improvements 2020-09-14 06:42:30 +02:00
index snapshot scalability: Don't compute global horizons while building snapshots. 2020-08-12 16:03:49 -07:00
nbtree Update parallel BTree scan state when the scan keys can't be satisfied. 2020-09-17 16:11:48 +05:30
rmgrdesc Print WAL logical message contents in pg_waldump 2020-09-10 19:37:02 -03:00
spgist snapshot scalability: Don't compute global horizons while building snapshots. 2020-08-12 16:03:49 -07:00
table Improve handling of dropped relations for REINDEX DATABASE/SCHEMA/SYSTEM 2020-09-02 09:08:12 +09:00
tablesample Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
transam Add support for building GiST index by sorting. 2020-09-17 11:33:40 +03:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00