From: Erik Rijkers <er@xs4all.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Support INOUT arguments in procedures
Date: Thu, 15 Mar 2018 00:34:44 +0100
Message-ID: <90c6c63ab7387fa8d06472533cc76427@xs4all.nl> (raw)
In-Reply-To: <8882.1521052137@sss.pgh.pa.us>
References: <E1ew8y5-0004J6-TN@gemulon.postgresql.org>
<0aaad7df2e78073d43e8e24d97a195b9@xs4all.nl>
<283badf5-1736-0e6d-463b-fd00fec5d519@2ndquadrant.com>
<8882.1521052137@sss.pgh.pa.us>
On 2018-03-14 19:28, Tom Lane wrote:
> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
>> On 3/14/18 12:45, Erik Rijkers wrote:
>>> pl_exec.c: In function ‘exec_stmt_call’:
>>> pl_exec.c:2089:10: warning: variable ‘numargs’ set but not used
>>> [-Wunused-but-set-variable]
>
>> I don't get that, and buildfarm animals of similar configuration don't
>> either. Are you using a nonstandard configuration perhaps?
>
> Not using --enable-cassert, evidently. You need to add
> PG_USED_FOR_ASSERTS_ONLY.
Yes, I always compile 2 binaries, one with asserts enabled and one
without it; I guess I should have noticed that my other compile didn't
give the warning.
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: er@xs4all.nl, tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com
Subject: Re: pgsql: Support INOUT arguments in procedures
In-Reply-To: <90c6c63ab7387fa8d06472533cc76427@xs4all.nl>
References: <E1ew8y5-0004J6-TN@gemulon.postgresql.org> <0aaad7df2e78073d43e8e24d97a195b9@xs4all.nl> <283badf5-1736-0e6d-463b-fd00fec5d519@2ndquadrant.com> <8882.1521052137@sss.pgh.pa.us> <90c6c63ab7387fa8d06472533cc76427@xs4all.nl>
* 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