Re: pgsql: Support INOUT arguments in procedures - Mailing list pgsql-committers

From Erik Rijkers
Subject Re: pgsql: Support INOUT arguments in procedures
Date
Msg-id 90c6c63ab7387fa8d06472533cc76427@xs4all.nl
Whole thread Raw
In response to Re: pgsql: Support INOUT arguments in procedures  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
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.



pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Remove pg_class.relhaspkey
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Remove pg_class.relhaspkey