pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Fix memory leak in pgbench
Date: Thu, 11 Apr 2019 08:52:25 -0700
Message-ID: <20190411155225.7kokoz2agq6lbwwr@alap3.anarazel.de> (raw)
In-Reply-To: <8005.1554989723@sss.pgh.pa.us>
References: <E1hDu6Z-00010m-Ct@gemulon.postgresql.org>
	<CAD21AoCXhMNiVLYqNtitzKzE07Z88WzV-2FNFxa9VNZC9WZu1w@mail.gmail.com>
	<alpine.DEB.2.21.1904100800060.19300@lancre>
	<CAD21AoAZ4q93m2oTx2g62boyVTu7fXOJpLHqBFk8S1t6VM2zjw@mail.gmail.com>
	<20190410111246.GF2728@paquier.xyz>
	<CA+hUKGKfZKKHOEFvUBi1RjjhN4kTZSbY4qiMxi0GbOK=0WDHHg@mail.gmail.com>
	<12886.1554958438@sss.pgh.pa.us>
	<alpine.DEB.2.21.1904110848160.17095@lancre>
	<20190411082348.GB30766@paquier.xyz>
	<8005.1554989723@sss.pgh.pa.us>

Hi,

On 2019-04-11 09:35:23 -0400, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> 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





view thread (23+ messages)  latest in thread

Message-ID: <20190411155225.7kokoz2agq6lbwwr@alap3.anarazel.de>
Permalink:  ../20190411155225.7kokoz2agq6lbwwr@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20190411155225.7kokoz2agq6lbwwr@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, michael@paquier.xyz, coelho@cri.ensmp.fr, thomas.munro@gmail.com, sawada.mshk@gmail.com, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix memory leak in pgbench
  In-Reply-To: <20190411155225.7kokoz2agq6lbwwr@alap3.anarazel.de>
  References: <E1hDu6Z-00010m-Ct@gemulon.postgresql.org> <CAD21AoCXhMNiVLYqNtitzKzE07Z88WzV-2FNFxa9VNZC9WZu1w@mail.gmail.com> <alpine.DEB.2.21.1904100800060.19300@lancre> <CAD21AoAZ4q93m2oTx2g62boyVTu7fXOJpLHqBFk8S1t6VM2zjw@mail.gmail.com> <20190410111246.GF2728@paquier.xyz> <CA+hUKGKfZKKHOEFvUBi1RjjhN4kTZSbY4qiMxi0GbOK=0WDHHg@mail.gmail.com> <12886.1554958438@sss.pgh.pa.us> <alpine.DEB.2.21.1904110848160.17095@lancre> <20190411082348.GB30766@paquier.xyz> <8005.1554989723@sss.pgh.pa.us> <20190411155225.7kokoz2agq6lbwwr@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox