pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
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 09:03:19 +0200 (CEST)
Message-ID: <alpine.DEB.2.21.1904110848160.17095@lancre> (raw)
In-Reply-To: <12886.1554958438@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>


Hello Tom,

> Thomas Munro <thomas.munro@gmail.com> writes:
>> . o O ( Is it time to run with -Werror on some BF animals yet? )
>
> I've got -Werror turned on on longfin; I'm surprised that it's not
> whining about this.  Perhaps -Wdeclaration-after-statement doesn't
> really do anything on clang?
>
> Anyway, I'd be in favor of having at least one reasonably-recent-gcc
> animal running with -Werror.  gcc and clang seem to have rather
> different sets of warnings.

Yep. Hopefully non contradictory:-)

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).

However, I'm not sure how motivated the project is with keeping up with 
the latest warnings, there could be some instability, it may require some 
adjustements, but they are a glimpse of what is to come, so maybe a less 
bleeding edge set of compilers should be selected.

-- 
Fabien.





view thread (23+ messages)  latest in thread

Message-ID: <alpine.DEB.2.21.1904110848160.17095@lancre>
Permalink:  ../alpine.DEB.2.21.1904110848160.17095@lancre/
Also on:    postgresql.org/message-id/alpine.DEB.2.21.1904110848160.17095@lancre

 · 

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: coelho@cri.ensmp.fr, tgl@sss.pgh.pa.us, thomas.munro@gmail.com, michael@paquier.xyz, sawada.mshk@gmail.com, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix memory leak in pgbench
  In-Reply-To: <alpine.DEB.2.21.1904110848160.17095@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>

* 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