On Mon, Aug 6, 2018 at 3:10 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)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