Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsw6Q-0003eY-Fk for pgsql-committers@arkaria.postgresql.org; Fri, 15 Sep 2017 19:16:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dsw6P-000794-V1 for pgsql-committers@arkaria.postgresql.org; Fri, 15 Sep 2017 19:16:37 +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 1dsw6B-0006ih-1D for pgsql-committers@postgresql.org; Fri, 15 Sep 2017 19:16:23 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dsw67-0004mX-Oi for pgsql-committers@postgresql.org; Fri, 15 Sep 2017 19:16:22 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5056E20C40; Fri, 15 Sep 2017 15:16:18 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 15 Sep 2017 15:16:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=o/hzNCGljB81Qk8RUf I0leQYycD2wGYcNePNQoIyy28=; b=HirQUfYjr2obSCmGs4pFdox4KLdyDOrGkd 6Xu7bBPy5At5rcKZzIhlQX+mlAN9epwShuv9w7gEgsw6GaYiM5uG5Fo2Iwf/Et6Z v2ms2ZK+esfxRn80w4wFg+l3aTiQ8VB1wbpHK0xV9godZudsBwWTWCcQSMhwO11N R/HOThObOSVm3TfoUuIlAfnBDm2rNEleCVlCnBNb1FXdFG9jJHrx/wfVw5iOTTzD rFzgjUSe173tn2x4tv1soNCjoQzrRIffvn3oga4GMDiTNLem0+qbpzn5HiBsvkhK 5rcscwxSVOaeNhqkH/LB7VmjSV6ZBczb0TAP3JcJx5hZY20l/Jkw== X-ME-Sender: X-Sasl-enc: NJ+hwsnwD4AmaebhQzDMKcVulElKGtI8vFQ54pTL3wdy 1505502978 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 02BD17E446; Fri, 15 Sep 2017 15:16:18 -0400 (EDT) Date: Fri, 15 Sep 2017 12:16:16 -0700 From: Andres Freund To: Tom Lane Cc: Thomas Munro , pgsql-committers Subject: Re: pgsql: Add support for coordinating record typmods among parallel worke Message-ID: <20170915191616.zkaoqa34znssyfsj@alap3.anarazel.de> References: <13971.1505445491@sss.pgh.pa.us> <14932.1505447120@sss.pgh.pa.us> <29888.1505451575@sss.pgh.pa.us> <21075.1505486017@sss.pgh.pa.us> <20170915181436.u6j27rx65giyntmk@alap3.anarazel.de> <31856.1505502434@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31856.1505502434@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 On 2017-09-15 15:07:14 -0400, Tom Lane wrote: > It's moot as long as we're not reusing workers, anyway: nothing is > going to touch any of the record-tupdesc data before process exit. Right - I'm ok with the end-result, I was just a bit confused about the justification, because neither before nor after the patch it's safe to continue executing arbitrary things in the worker. Just unsafe in different ways. Before you could reuse a typemod, now you can use a dangling pointer. Greetings, Andres Freund -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers