From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
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 18:36:16 +0200 (CEST)
Message-ID: <alpine.DEB.2.21.1904111825030.13183@lancre> (raw)
In-Reply-To: <20190411082348.GB30766@paquier.xyz>
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>
>> 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.
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: coelho@cri.ensmp.fr, michael@paquier.xyz, tgl@sss.pgh.pa.us, thomas.munro@gmail.com, sawada.mshk@gmail.com, alvherre@alvh.no-ip.org
Subject: Re: pgsql: Fix memory leak in pgbench
In-Reply-To: <alpine.DEB.2.21.1904111825030.13183@lancre>
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> <alpine.DEB.2.21.1904111825030.13183@lancre>
* 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