Parallel CREATE INDEX vs DSM starvation - Mailing list pgsql-hackers

From Thomas Munro
Subject Parallel CREATE INDEX vs DSM starvation
Date
Msg-id CA+hUKGJgJEBnkuODBVomyK3MWFvDBbMVj=gdt6DnRPU-5sQ6UQ@mail.gmail.com
Whole thread Raw
Responses Re: Parallel CREATE INDEX vs DSM starvation
List pgsql-hackers
Hello,

CreateParallelContext() can return a context with seg == NULL.  That
causes CREATE INDEX to segfault.  Instead, it should fall back to
non-parallel build.  See attached.

This probably explains a segfault reported over on pgsql-general[1].

[1] https://www.postgresql.org/message-id/CA%2BhUKG%2BcfjHy63hXEOc-CRZEPcUhu9%3DP3gKk_W9OiXzj-dfV_g%40mail.gmail.com

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Prevent pg_basebackup running as root
Next
From: Peter Geoghegan
Date:
Subject: Re: Parallel CREATE INDEX vs DSM starvation