Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dss1t-0003Ea-3P for pgsql-committers@arkaria.postgresql.org; Fri, 15 Sep 2017 14:55:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dss1s-0007pk-Cm for pgsql-committers@arkaria.postgresql.org; Fri, 15 Sep 2017 14:55:40 +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.84_2) (envelope-from ) id 1dss1c-0006y3-Id for pgsql-committers@postgresql.org; Fri, 15 Sep 2017 14:55:24 +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.84_2) (envelope-from ) id 1dss1Z-0007M9-HZ for pgsql-committers@postgresql.org; Fri, 15 Sep 2017 14:55:24 +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 v8FEtHrB002729; Fri, 15 Sep 2017 10:55:17 -0400 From: Tom Lane To: Thomas Munro cc: Andres Freund , pgsql-committers Subject: Re: pgsql: Add support for coordinating record typmods among parallel worke In-reply-to: References: <13971.1505445491@sss.pgh.pa.us> <14932.1505447120@sss.pgh.pa.us> <29888.1505451575@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Fri, 15 Sep 2017 18:47:10 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2727.1505487317.1@sss.pgh.pa.us> Date: Fri, 15 Sep 2017 10:55:17 -0400 Message-ID: <2728.1505487317@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Thomas Munro writes: > The attached patch fixes the problem > by getting rid of the code that accesses shmem in the detach hook. > With this patch applied installcheck survives on a cluster with > force_parallel_worker=regress. In hopes of getting the buildfarm back to green, I went ahead and pushed a slightly more aggressive form of this --- I took out the worker-specific detach function altogether. We can resurrect it if we ever have a more plausible idea of how to do worker recycling, but for now I don't see a reason to waste bytes on useless and incorrect code. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers