Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz2sc-00043g-53 for pgsql-committers@arkaria.postgresql.org; Wed, 27 Feb 2019 17:20:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gz2sa-0001ea-7x for pgsql-committers@arkaria.postgresql.org; Wed, 27 Feb 2019 17:20:24 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz2sa-0001eT-2e for pgsql-committers@lists.postgresql.org; Wed, 27 Feb 2019 17:20: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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz2sY-0006Ut-2b for pgsql-committers@lists.postgresql.org; Wed, 27 Feb 2019 17:20:23 +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 x1RHKGqd014516; Wed, 27 Feb 2019 12:20:16 -0500 From: Tom Lane To: Andres Freund cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Use slots in trigger infrastructure, except for the actual invoc In-reply-to: <20190227171810.hp5fbm32jrefigcp@alap3.anarazel.de> References: <11199.1551285318@sss.pgh.pa.us> <20190227171810.hp5fbm32jrefigcp@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 27 Feb 2019 09:18:10 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14514.1551288016.1@sss.pgh.pa.us> Date: Wed, 27 Feb 2019 12:20:16 -0500 Message-ID: <14515.1551288016@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Hm, yea, I can see why a compiler, especially without doing more > expensive control flow analysis, would get this wrong. Easier to > understand if we NULL initialize rInfo, not just rel, too. Pushed. All quiet now; thanks. regards, tom lane