postgresql/src
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
..
backend Update parallel BTree scan state when the scan keys can't be satisfied. 2020-09-17 16:11:48 +05:30
bin Improve tab completion of IMPORT FOREIGN SCHEMA in psql 2020-09-17 11:49:29 +09:00
common Skip unnecessary stat() calls in walkdir(). 2020-09-07 18:28:06 +12:00
fe_utils Message fixes and style improvements 2020-09-14 06:42:30 +02:00
include Allow CURRENT_ROLE where CURRENT_USER is accepted 2020-09-17 11:40:08 +02:00
interfaces Add libpq's openssl dependencies to pkg-config file 2020-09-10 15:55:31 +02:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Improve formatting of create_help.pl and plperl_opmask.pl output. 2020-09-16 20:31:37 -04:00
port Add d_type to our Windows dirent emulation. 2020-09-07 23:38:19 +12:00
template Fix compiler warning for ppoll() on Cygwin 2019-12-22 23:20:00 +01:00
test Allow CURRENT_ROLE where CURRENT_USER is accepted 2020-09-17 11:40:08 +02:00
timezone Ensure that distributed timezone abbreviation files are plain ASCII. 2020-07-17 11:03:55 -04:00
tools Improve formatting of create_help.pl and plperl_opmask.pl output. 2020-09-16 20:31:37 -04:00
tutorial doc: Change table alias names to lower case in tutorial chapter 2020-09-04 08:45:57 +02:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Split Makefile symbol CFLAGS_VECTOR into two symbols. 2020-09-06 21:28:16 -04:00
Makefile.shlib Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00