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 1hERj0-0003CZ-Hm for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 04:54:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hERiz-0005jo-9h for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 04:54:09 +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 1hERiz-0005hU-2Y for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 04:54:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hERix-0001eF-0K for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 04:54:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x3B4rwDw012887; Thu, 11 Apr 2019 00:53:58 -0400 From: Tom Lane To: Thomas Munro cc: Michael Paquier , Masahiko Sawada , Fabien COELHO , Alvaro Herrera , pgsql-committers Subject: Re: pgsql: Fix memory leak in pgbench In-reply-to: References: <20190410111246.GF2728@paquier.xyz> Comments: In-reply-to Thomas Munro message dated "Thu, 11 Apr 2019 14:16:18 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12885.1554958438.1@sss.pgh.pa.us> Date: Thu, 11 Apr 2019 00:53:58 -0400 Message-ID: <12886.1554958438@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > . o O ( Is it time to run with -Werror on some BF animals yet? ) I've got -Werror turned on on longfin; I'm surprised that it's not whining about this. Perhaps -Wdeclaration-after-statement doesn't really do anything on clang? Anyway, I'd be in favor of having at least one reasonably-recent-gcc animal running with -Werror. gcc and clang seem to have rather different sets of warnings. regards, tom lane