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 1hEcgh-00059u-9e for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 16:36:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEcgg-0007S2-1o for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 16:36:30 +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 1hEcgf-0007Rv-RC for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 16:36:29 +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 1hEcgd-0001ia-AT for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 16:36:29 +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 432BC55EE3; Thu, 11 Apr 2019 18:36:26 +0200 (CEST) Received: from lancre (unknown [151.49.109.206]) (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 BF72A202D3; Thu, 11 Apr 2019 18:36:25 +0200 (CEST) Date: Thu, 11 Apr 2019 18:36:16 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@lancre To: Michael Paquier cc: Tom Lane , Thomas Munro , Masahiko Sawada , Alvaro Herrera , pgsql-committers Subject: Re: pgsql: Fix memory leak in pgbench In-Reply-To: <20190411082348.GB30766@paquier.xyz> Message-ID: References: <20190410111246.GF2728@paquier.xyz> <12886.1554958438@sss.pgh.pa.us> <20190411082348.GB30766@paquier.xyz> 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: gggruggvucftvghtrhhoucdtuddrgeduuddrudelgddutdefucetufdoteggodetrfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvufgjkfhffgggtgesthdtredttdervdenucfhrhhomhephfgrsghivghnucevqffgnffjqfcuoegtohgvlhhhohestghrihdrvghnshhmphdrfhhrqeenucfkphepudehuddrgeelrddutdelrddvtdeinecurfgrrhgrmhepmhhouggvpehsmhhtphhouhht X-VRSPAM-EXTCAUSE: mhhouggvpehsmhhtphhouhht List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >> 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). > > If possible, I would not recommend using compiled versions from > source, but just the latest stable versions released for gcc and > clang. Yep, but I'm a compiler person, so I'm happy with compiling bleeding edge pg with bleeding edge gcc & clang. Note that there is also "caiman" running a non release gcc version. > Even if this can catch up compiler bugs using Postgres code at > a very early stage, Indeed, several times, and they were reported and fixed. > the false positives induced have been proving to hurt because of the > time investigations took to determine if this was a problem on our side > or not. ISTM that the answer is that they are experimental animals, hence the choice of stingy jellyfish names, and failures should not be investigated immediately. Maybe some "experimental" warning could be shown somewhere as a reminder? I can add it in the compiler version, something like: "Ubuntu 18.04.2 LTS **EXPERIMENTAL** gcc ..." -- Fabien.