pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org,Michael Paquier <michael@paquier.xyz>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Subject: Re: pgsql: Fix memory leak in pgbench
Date: Tue, 09 Apr 2019 23:11:43 -0700
Message-ID: <A40FECD2-DDED-447F-8616-DC47471EAF6C@anarazel.de> (raw)
In-Reply-To: <20190410060738.GC2728@paquier.xyz>
References: <E1hDu6Z-00010m-Ct@gemulon.postgresql.org>
	<CAD21AoCXhMNiVLYqNtitzKzE07Z88WzV-2FNFxa9VNZC9WZu1w@mail.gmail.com>
	<20190410060738.GC2728@paquier.xyz>



On April 9, 2019 11:07:38 PM PDT, Michael Paquier <michael@paquier.xyz> wrote:
>On Wed, Apr 10, 2019 at 01:19:11PM +0900, Masahiko Sawada wrote:
>> This change leads a compiler warning on my machine:
>> 
>> pgbench.c: In function ‘readCommandResponse’:
>> pgbench.c:2730: warning: ISO C90 forbids mixed declarations and code
>
>C99 does not forbid that (see d9dd406).

Our own set of standards do however. Note that we still have wdeclaration-after-statement in our compiler flags if supported by the compiler.  CF configure.in.

Andres


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.





view thread (23+ messages)  latest in thread

Message-ID: <A40FECD2-DDED-447F-8616-DC47471EAF6C@anarazel.de>
Permalink:  ../A40FECD2-DDED-447F-8616-DC47471EAF6C@anarazel.de/
Also on:    postgresql.org/message-id/A40FECD2-DDED-447F-8616-DC47471EAF6C@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, michael@paquier.xyz, sawada.mshk@gmail.com, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix memory leak in pgbench
  In-Reply-To: <A40FECD2-DDED-447F-8616-DC47471EAF6C@anarazel.de>
  References: <E1hDu6Z-00010m-Ct@gemulon.postgresql.org> <CAD21AoCXhMNiVLYqNtitzKzE07Z88WzV-2FNFxa9VNZC9WZu1w@mail.gmail.com> <20190410060738.GC2728@paquier.xyz> <A40FECD2-DDED-447F-8616-DC47471EAF6C@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