Re: pgsql: Support INOUT arguments in procedures

From: Erik Rijkers <er(at)xs4all(dot)nl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Support INOUT arguments in procedures
Date: 2018-03-14 23:34:44
Message-ID: 90c6c63ab7387fa8d06472533cc76427@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 2018-03-14 19:28, Tom Lane wrote:
> Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)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.

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2018-03-14 23:45:46 Re: pgsql: Remove pg_class.relhaspkey
Previous Message Alvaro Herrera 2018-03-14 23:11:32 Re: pgsql: Remove pg_class.relhaspkey