From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use slots in trigger infrastructure, except for the actual invoc
Date: Wed, 27 Feb 2019 09:18:10 -0800
Message-ID: <20190227171810.hp5fbm32jrefigcp@alap3.anarazel.de> (raw)
In-Reply-To: <11199.1551285318@sss.pgh.pa.us>
References: <E1gyr28-0004d8-5t@gemulon.postgresql.org>
<11199.1551285318@sss.pgh.pa.us>
Hi,
On 2019-02-27 11:35:18 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Use slots in trigger infrastructure, except for the actual invoc
In-Reply-To: <20190227171810.hp5fbm32jrefigcp@alap3.anarazel.de>
References: <E1gyr28-0004d8-5t@gemulon.postgresql.org> <11199.1551285318@sss.pgh.pa.us> <20190227171810.hp5fbm32jrefigcp@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox