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 1hETk7-0003nj-Ea for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 07:03:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hETk5-0008Ph-Oa for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 07:03:25 +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 1hETk5-0008Kq-GO for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 07:03:25 +0000 Received: from courriel.mines-paristech.fr ([77.158.173.149] helo=antispam-1.ensmp.fr) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hETk3-0004vp-2Y for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 07:03:24 +0000 Received: from smtp-5.mines-paristech.fr (smtp.mines-paristech.fr [77.158.173.146]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by antispam-1.ensmp.fr (antispam.mines-paristech.fr) with ESMTPS id 4CF6255E5E; Thu, 11 Apr 2019 09:03:21 +0200 (CEST) Received: from lancre (unknown [212.91.77.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-5.mines-paristech.fr (Postfix) with ESMTPSA id AC5A6202C8; Thu, 11 Apr 2019 09:03:20 +0200 (CEST) Date: Thu, 11 Apr 2019 09:03:19 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@lancre To: Tom Lane cc: Thomas Munro , Michael Paquier , Masahiko Sawada , Alvaro Herrera , pgsql-committers Subject: Re: pgsql: Fix memory leak in pgbench In-Reply-To: <12886.1554958438@sss.pgh.pa.us> Message-ID: References: <20190410111246.GF2728@paquier.xyz> <12886.1554958438@sss.pgh.pa.us> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CLAMAV-SCAN: ok X-VRSPAM-SCORE: -100 X-VRSPAM-STATE: legit X-VRSPAM-CAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudekgddutdelucetufdoteggodetrfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvufgjkfhffgggtgesthdtredttdervdenucfhrhhomhephfgrsghivghnucevqffgnffjqfcuoegtohgvlhhhohestghrihdrvghnshhmphdrfhhrqeenucfkphepvdduvddrledurdejjedrkeelnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhht X-VRSPAM-EXTCAUSE: mhhouggvpehsmhhtphhouhht List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello Tom, > 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. Yep. Hopefully non contradictory:-) I can set up farm animals with bleeding age clang/gcc (compiled weekly from sources) with -Werror (seawasp & moonjelly are already running with those but without -Werror). However, I'm not sure how motivated the project is with keeping up with the latest warnings, there could be some instability, it may require some adjustements, but they are a glimpse of what is to come, so maybe a less bleeding edge set of compilers should be selected. -- Fabien.