Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fnopS-0005He-Fl for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Aug 2018 17:34:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fnopQ-0008WO-IA for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Aug 2018 17:34:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fnopQ-0008WG-C8 for pgsql-bugs@lists.postgresql.org; Thu, 09 Aug 2018 17:34:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fnopN-0005PO-Gt for pgsql-bugs@lists.postgresql.org; Thu, 09 Aug 2018 17:34:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w79HYLxB011804; Thu, 9 Aug 2018 13:34:21 -0400 From: Tom Lane To: Peter Geoghegan cc: deathlock13@gmail.com, PostgreSQL mailing lists , Robert Haas Subject: Re: BUG #15309: ERROR: catalog is missing 1 attribute(s) for relid 760676 when max_parallel_maintenance_workers > 0 In-reply-to: References: <153329671686.1405.18298309097348420351@wrigleys.postgresql.org> <11288.1533304389@sss.pgh.pa.us> <13228.1533590989@sss.pgh.pa.us> <15154.1533593885@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Tue, 07 Aug 2018 18:06:59 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11802.1533836061.1@sss.pgh.pa.us> Date: Thu, 09 Aug 2018 13:34:21 -0400 Message-ID: <11803.1533836061@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Geoghegan writes: > Attached are two patches that each fix the issue -- a conservative > patch for v11, as well as a patch that actually propagates relmapper.c > state, for the master branch. It would be good to get a +1 on both > before pushing. I took a quick look at these. The v11 patch seems OK as far as it goes, but I wonder if you shouldn't also include the RelationMapUpdateMap hunk from the master patch, ie adding rejection of map changes in parallel mode. I don't have any objection to the master patch, but it'd be good to get a +1 from someone who's spent more time with the parallelism infrastructure than I have. regards, tom lane