From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Propagate trigger arguments to partitions
Date: Wed, 10 Jul 2019 08:53:36 -0400
Message-ID: <20190710125336.GA23834@alvherre.pgsql> (raw)
In-Reply-To: <20190710070122.GE1031@paquier.xyz>
On 2019-Jul-10, Michael Paquier wrote:
Hello
> This commit has broken the buildfarm on REL_11_STABLE for a couple of
> animals:
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2019-07-10%2006%3A27%3A02
Argh. You say "a couple", you mean "half the buildfarm for that branch"
:-(
> error: ‘for’ loop initial declarations are only allowed in C99 mode
> for (int i = 0; i < trigForm->tgnargs; i++)
>
> This gets fixed with the attached. I would personally keep the code
> consistent for v12 and HEAD for this code path, but I am fine to let
> you decide the way you prefer.
I kinda like block-scoped variables, braindead though they are in
C, so I'll just patch pg11. It's not like this code changes too much
anyway (famous last words).
Thanks for pinging
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@2ndquadrant.com, michael@paquier.xyz
Subject: Re: pgsql: Propagate trigger arguments to partitions
In-Reply-To: <20190710125336.GA23834@alvherre.pgsql>
References: <20190710070122.GE1031@paquier.xyz> <20190710125336.GA23834@alvherre.pgsql>
* 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