| From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Cc: | Peter Geoghegan <pg(at)bowt(dot)ie> |
| Subject: | Parallel CREATE INDEX vs DSM starvation |
| Date: | 2020-01-30 07:37:55 |
| Message-ID: | CA+hUKGJgJEBnkuODBVomyK3MWFvDBbMVj=gdt6DnRPU-5sQ6UQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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].
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Handle-lack-of-DSM-segment-slots-in-parallel-btree-b.patch | application/octet-stream | 1.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Geoghegan | 2020-01-30 07:47:25 | Re: Parallel CREATE INDEX vs DSM starvation |
| Previous Message | Michael Paquier | 2020-01-30 07:00:40 | Re: Prevent pg_basebackup running as root |