diff options
author | Thomas Munro <tmunro@postgresql.org> | 2020-02-05 12:21:03 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2020-02-05 12:28:33 +1300 |
commit | 2e2351bd6c45a77b6462bf73102b5735a4e21379 (patch) | |
tree | db5a066371244905cab143af21071b429166b086 /src/backend/parser/parse_enr.c | |
parent | 9a85860e12aa218731637d76f043199a0e7a4493 (diff) | |
download | postgresql-2e2351bd6c45a77b6462bf73102b5735a4e21379.tar.gz postgresql-2e2351bd6c45a77b6462bf73102b5735a4e21379.zip |
Handle lack of DSM slots in parallel btree build, take 2.
Commit 74618e77 added a new check intended to fix a bug, but put
it in the wrong place so that parallel btree build was always
disabled. Do the check after we've actually tried to create
a DSM segment. Back-patch to 11, like the earlier commit.
Reviewed-by: Peter Geoghegan
Discussion: https://postgr.es/m/CAH2-WzmDABkJzrNnvf%2BOULK-_A_j9gkYg_Dz-H62jzNv4eKQTw%40mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_enr.c')
0 files changed, 0 insertions, 0 deletions