Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewFv4-0002nu-1X for pgsql-committers@arkaria.postgresql.org; Wed, 14 Mar 2018 23:34:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewFv2-0005Qp-Gn for pgsql-committers@arkaria.postgresql.org; Wed, 14 Mar 2018 23:34:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewFv2-0005Qf-8g for pgsql-committers@lists.postgresql.org; Wed, 14 Mar 2018 23:34:52 +0000 Received: from lb3-smtp-cloud9.xs4all.net ([194.109.24.30]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewFuy-0004oN-2h for pgsql-committers@postgresql.org; Wed, 14 Mar 2018 23:34:51 +0000 Received: from webmailclassic.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:217]) by smtp-cloud9.xs4all.net with ESMTPA id wFuue5SRfAB0wwFuuea7gn; Thu, 15 Mar 2018 00:34:44 +0100 Received: from 2001:983:39b6:1:8e89:a5ff:fe87:3e60 by webmailclassic.xs4all.nl with HTTP (HTTP/1.1 POST); Thu, 15 Mar 2018 00:34:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 15 Mar 2018 00:34:44 +0100 From: Erik Rijkers To: Tom Lane Cc: Peter Eisentraut , pgsql-committers@postgresql.org Subject: Re: pgsql: Support INOUT arguments in procedures In-Reply-To: <8882.1521052137@sss.pgh.pa.us> References: <0aaad7df2e78073d43e8e24d97a195b9@xs4all.nl> <283badf5-1736-0e6d-463b-fd00fec5d519@2ndquadrant.com> <8882.1521052137@sss.pgh.pa.us> Message-ID: <90c6c63ab7387fa8d06472533cc76427@xs4all.nl> X-Sender: er@xs4all.nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfA9e1EJKiHgGYu0OpAbIUawWOnsXa6UtiWewIoD/tG4oXEHOaYFoVu/M8DaINUZ+IFt1/pHNktufq1B3LElA8KZX2Xp+uqfoYDBykAMvPXx+V4TrrS+a Yy9L87S4F5ywrXCGQzx89M1UiEV+xE4MWyxpIUJ6moq9gbcDoUpIQ0w/9VW9KKOB3L8yEMmHnbNRtusWOdPLroZZo5YTeowCrk3x/93h+C1YCu4Hvy/FiocC 7pn0vtqkAp+ZzW3zq1ANlywuW1cKyerfWJx2dplEkBWJTp5U6BlUyWzCfjXZBGw4Y2fMAfI5rXQOkQM+xiITDeT/PHKl1vPakDtMMJSTwCM= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-03-14 19:28, Tom Lane wrote: > Peter Eisentraut 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.