Re: BUG #15309: ERROR: catalog is missing 1 attribute(s) for relid 760676 when max_parallel_maintenance_workers > 0
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, deathlock13@gmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2018-08-06T22:16:49Z
Lists: pgsql-bugs
On Mon, Aug 6, 2018 at 3:10 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > Uh, that's weird, isn't it? I mean, why is the relfilenode changing > underneath? Why isn't it blocked by the CREATE INDEX? Or is CREATE > INDEX inflicting that upon itself? CREATE INDEX/nbtsort.c does not take any special interest in relfilenode, or anything like that. As Tom said, this is a failure to propagate the process-local state of relmapper.c into the worker processes. Or a failure to account for the fact that that doesn't happen, perhaps. -- Peter Geoghegan
Commits
-
Handle parallel index builds on mapped relations.
- 4974d7f87e62 12.0 landed
- 9353d94a9b70 11.0 landed
-
Transfer state pertaining to pending REINDEX operations to workers.
- 29d58fd3adae 11.0 cited