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 1gz2qf-0003yu-BB for pgsql-committers@arkaria.postgresql.org; Wed, 27 Feb 2019 17:18: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 1gz2qd-0005VF-WB for pgsql-committers@arkaria.postgresql.org; Wed, 27 Feb 2019 17:18:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz2qc-0005KA-2h for pgsql-committers@lists.postgresql.org; Wed, 27 Feb 2019 17:18:23 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz2qU-0000Jc-Og for pgsql-committers@lists.postgresql.org; Wed, 27 Feb 2019 17:18:20 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 6D0F33508; Wed, 27 Feb 2019 12:18:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 27 Feb 2019 12:18:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=vp6k++24ARDgK9HzspAzmIrXK2z ahQ8mjlMHoaKYU4s=; b=Rf3TE8zVzmfdD/Es0QSh8mSg/Tb2LCaa9lKSLWhAjLK G10n6cgo/DxY2R6NLhI2VIun1TKIFwUhGUsrRjnPb989zZFNkKDSIgT2ZVce9jX1 SgENq3L2kLKlAKWmfbjc0asNowIkm99fHG7BJg25q7jPD/3r93IMINVk2bS7LWmD EtQMGC8BOlMhaqrOuGuM3BE6zhovw8Aobik5UTMSAT3C0qhss+QQH+pxipXwFXs9 E4I9W5+EczKgNpiFVDBYeUbbKvSLv2PZp2UGga9miv+iwl5bvpEKgWTcpOV6Teax gkhzsXIjRhzgv8ANOnXkuCXyIM9t4HNMj2vULQR6Pmg== 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-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vp6k++ 24ARDgK9HzspAzmIrXK2zahQ8mjlMHoaKYU4s=; b=d/1I7Eexfh9fvSUzpU2CXI JY5Xqs7OeVHiAEw/Ggj4/5zGsqYxJg6l70v6lB9+57HB/VqBFhLuk+gm1+Je7TbP jiVojM/c22zzvWDwwnK7JmtMSFXyofDRMXJx0ybKs9TKLDjFv17locdKQh90gYQ1 YbLVjQ+ni0nWHqPuQ8+v7abaomBALLwH70kcD9gwXNq7Gp13PchlfdQctwf+9jiD DUCnj2yvgOXDalg3ryorCj+eVq1sm2OOzrsq80rtJ0A/LPTfgU2+seQlSuIbYrwZ MX6hDg5mLIUADk1kGGFcmOiBkdM0s4NNz8vclrXxaFDR1jcBZsdfFRh/bXyrE+uA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrvddugdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertd dttddvnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgr rhgriigvlhdruggvqeenucfkphepleekrddvuddtrddugedtrddujedunecurfgrrhgrmh epmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvgenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 5CD7D10328; Wed, 27 Feb 2019 12:18:12 -0500 (EST) Date: Wed, 27 Feb 2019 09:18:10 -0800 From: Andres Freund To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Use slots in trigger infrastructure, except for the actual invoc Message-ID: <20190227171810.hp5fbm32jrefigcp@alap3.anarazel.de> References: <11199.1551285318@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11199.1551285318@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-02-27 11:35:18 -0500, Tom Lane wrote: > Andres Freund writes: > > Use slots in trigger infrastructure, except for the actual invocation. > > I believe it's this commit that is resulting in my compiler bleating > about > > trigger.c: In function 'afterTriggerInvokeEvents': > trigger.c:4493: warning: 'rInfo' may be used uninitialized in this function 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. Greetings, Andres Freund