Handle lack of DSM slots in parallel btree build. If no DSM slots are available, a ParallelContext can still be created, but its seg pointer is NULL. Teach parallel btree build to cope with that by falling back to a regular non-parallel build, to avoid crashing with a segmentation fault. Back-patch to 11, where parallel CREATE INDEX landed. Reported-by: Nicola Contu Reviewed-by: Peter Geoghegan Discussion: https://postgr.es/m/CA%2BhUKGJgJEBnkuODBVomyK3MWFvDBbMVj%3Dgdt6DnRPU-5sQ6UQ%40mail.gmail.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1fcf62e0b837c1b814a86f3abf92ad4d36ca30e6 Modified Files -------------- src/backend/access/nbtree/nbtsort.c | 9 +++++++++ 1 file changed, 9 insertions(+)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных