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 1hEc0E-000395-Pl for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 15:52:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEc0D-0006ZP-FL for pgsql-committers@arkaria.postgresql.org; Thu, 11 Apr 2019 15:52:37 +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 1hEc0D-0006Uf-3s for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 15:52:37 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEc06-0005Ez-J2 for pgsql-committers@lists.postgresql.org; Thu, 11 Apr 2019 15:52:35 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D229B22585; Thu, 11 Apr 2019 11:52:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 11 Apr 2019 11:52:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=aGilvH4fSR2buNnR/7pz5aYgeRl UE3oE9jeLkf7bjqw=; b=ebuWovSfXzjsUiPn31NPoCj/bbqfigZfePEqthXcYDv A2+Gquxla0/5n8Uv180ObvQ+8DnhALZn9/sb5oKqyvAsTKnPlgABBqvIY/Bl9I94 um3Gqqmfsk19fDCo0gmiRkRHIQuScaFa4PQuF8hWrBd+dcJiFI5LZ3XW/tMk27Cj AN76JQ1emaLgBSP3PSAkRWpc67uniFbp/SOq0gfNPSZHwamVe2sIFXxXmur4hlIW bKgALq+8eWoNHvpbeIa+odhA4d6NjsukZGMSkE1GPOKsICBnxnw5AP3SlcGW9qsK P2WVQTf35Lj9dKT5Jet4lf2a30ZFB6wVa+fcTkhzZ5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=aGilvH 4fSR2buNnR/7pz5aYgeRlUE3oE9jeLkf7bjqw=; b=HfrkMh46iz+W1N4PzzDGS+ RY3RDHUHrKMvrEXBjBJ/cl66rRwspU0swVvTdMJgkmQwS46HPMxIu/NJwvgGffTm g2RSgJyJlzgn0bsveDuL/mHxK2N6fRij6E0EY2BIG65+Ks4ZCj3tMbaaBZkoxkXY iVXyqueol2mruiUQoFHyOR0H7mGbXWAezB63qhOwcFT9O1odqSpzF8QkavGEpxQg W65XDr8HUFG80NRaZPf+Mi5GwFTZij5+RoFAQjzk+CeS5/6x2BdJHqdxkW6u7VAh 3ax5wkMsxIGgpb305T4zd++dPOBVQ2HM7r2vKVx1RrkPoNGX8IpoWQNDbfGi7XGg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudelgdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehttdertddttddv necuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgrii gvlhdruggvqeenucfkphepleekrddvuddtrddugedtrddujedunecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvgenucevlhhushhtvghruf hiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id A8EE9E44D7; Thu, 11 Apr 2019 11:52:28 -0400 (EDT) Date: Thu, 11 Apr 2019 08:52:25 -0700 From: Andres Freund To: Tom Lane Cc: Michael Paquier , Fabien COELHO , Thomas Munro , Masahiko Sawada , Alvaro Herrera , pgsql-committers Subject: Re: pgsql: Fix memory leak in pgbench Message-ID: <20190411155225.7kokoz2agq6lbwwr@alap3.anarazel.de> References: <20190410111246.GF2728@paquier.xyz> <12886.1554958438@sss.pgh.pa.us> <20190411082348.GB30766@paquier.xyz> <8005.1554989723@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8005.1554989723@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-04-11 09:35:23 -0400, Tom Lane wrote: > 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. I could easily add that to one of EXEC_BACKEND or -DDCOPY_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST, --disable-atomics, --disable-spinlocks animals. I'd probably go for one of the latter, because they tend to break very rarely for other reasons these days. While the buildfarm page says they run gcc 6, it's actually just the latest stable release, updated regularly. I kinda wish the buildfarm wouldn't require manually updating compiler versions... Greetings, Andres Freund