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 1hlC6V-0005mq-AS for pgsql-committers@arkaria.postgresql.org; Wed, 10 Jul 2019 12:53:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hlC6T-0006BQ-KQ for pgsql-committers@arkaria.postgresql.org; Wed, 10 Jul 2019 12:53:45 +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 1hlC6T-0006BJ-8J for pgsql-committers@lists.postgresql.org; Wed, 10 Jul 2019 12:53:45 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hlC6Q-0003nN-1M for pgsql-committers@lists.postgresql.org; Wed, 10 Jul 2019 12:53:44 +0000 Received: by mail-qk1-x741.google.com with SMTP id v22so1736372qkj.8 for ; Wed, 10 Jul 2019 05:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=3FhhimVbVZYtooHCeRBTGJiwvxYuPm6TuiuvhOMYndA=; b=HJWgwfIDlrmB1DhUJEMb+3QrBtQmpdbnczo0QyrEPy/Yd5iKcaK6N2T86NruEtMcPn zDqA313CYSw3ZjZjlkD+t7cH3dJ2SPob1D5fHqPv/9XriOpYh5GHD0iofXUOc27zCmB0 Z3viGpvlIqx80WWAZbxiA5MCahm9MdlhZCQ2rdf2C1ZbdGFUIdMTgMTv4Kz7peO6V+3w +O+5zjei4658DeAGllIdaBuNspLje96h9kG1dFR5bi9AudQHiTHVA4QdZbL9xevNAvG0 sj1LXJB0lGjL5D/SdKky4i52HutF+Vkrh/8VITTFZ6KMpgx8GJ6wiZgVWVqT4M4BaQY6 JqrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=3FhhimVbVZYtooHCeRBTGJiwvxYuPm6TuiuvhOMYndA=; b=QhGd1ZAsszDm1mYxka8zaTzYwwia3tMOpICL2w18NAf9tp69nhtkxUqWdNLVxDQ40S z6J/E4ovZETeO5BrMuCUGdLIvIVscD0yb8Da0heh59IHJCeUZV5Dx4dGQp98lL3BUGUh PZhbF/lNhym5T5DiMO5z8H3HYqRbmKqPdqyFnw336zii6WZFNoepOcspulfoBEyDDjEu z3lwKMFB/Gor9aZyT1HvXT1BbAYVCLqvnF9Q8C7ZRJoisA7oisXTofTsGfUOJQ3qDfge RDEKr1fEkPBpCIFfwNd0XHRj3PU5Kh6OcQ09SphHmLkCNBbdeiPPZ2UV2Nbj3jH2DVc0 j3xQ== X-Gm-Message-State: APjAAAXDj64/9wt6eHOGXPVwXoW/PI3e35wtT0JAnhHmLac+1MpGgY3n 8JwLXZuf986gPs3d8dTf6tK7/FTQAZJJa323/Yb1yiK/0ZwavcDCo1JqvvujvK/yhZjiyqkuPgk 29Ms3Nb70OCVt8l4m/JUvSUZAi7VGvexgmUKJRPqTHDXAyYL6cTGWr5or40H9aqk+RsiFKR5qD6 h7qb6uP+n6L6sUlNp6yw== X-Google-Smtp-Source: APXvYqxzLgmF5aUbIejCARHiUplX+xwnpCC0MerkpkH0eV72mDtFc40ZoccF+0hp7J80bszPHIdIzQ== X-Received: by 2002:ae9:df81:: with SMTP id t123mr23031341qkf.372.1562763219965; Wed, 10 Jul 2019 05:53:39 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id z4sm1280526qtd.60.2019.07.10.05.53.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 10 Jul 2019 05:53:39 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id F3756121E48; Wed, 10 Jul 2019 08:53:36 -0400 (-04) Date: Wed, 10 Jul 2019 08:53:36 -0400 From: Alvaro Herrera To: Michael Paquier Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Propagate trigger arguments to partitions Message-ID: <20190710125336.GA23834@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190710070122.GE1031@paquier.xyz> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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