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 1hEZrc-0005ES-1j for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 13:35:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEZra-0000b1-P8 for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 13:35:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEZra-0000aj-Eh for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 13:35:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEZrY-00024V-04 for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 13:35:33 +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 x3BDZNsL008006; Thu, 11 Apr 2019 09:35:23 -0400 From: Tom Lane To: Michael Paquier cc: Fabien COELHO , Thomas Munro , Masahiko Sawada , Alvaro Herrera , pgsql-committers Subject: Re: pgsql: Fix memory leak in pgbench In-reply-to: <20190411082348.GB30766@paquier.xyz> References: <20190410111246.GF2728@paquier.xyz> <12886.1554958438@sss.pgh.pa.us> <20190411082348.GB30766@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Thu, 11 Apr 2019 17:23:48 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8004.1554989723.1@sss.pgh.pa.us> Date: Thu, 11 Apr 2019 09:35:23 -0400 Message-ID: <8005.1554989723@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > On Thu, Apr 11, 2019 at 09:03:19AM +0200, Fabien COELHO wrote: >> 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. Even if this can catch up compiler bugs using Postgres code at > a very early stage, 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. Yeah, I'm not excited about having to expend effort on working around warnings seen only in unstable compilers. I was thinking more of using some solid-but-not-ancient gcc release. regards, tom lane