Re: pgsql: Fix memory leak in pgbench - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Fix memory leak in pgbench
Date
Msg-id A40FECD2-DDED-447F-8616-DC47471EAF6C@anarazel.de
Whole thread Raw
In response to Re: pgsql: Fix memory leak in pgbench  (Michael Paquier <michael@paquier.xyz>)
List pgsql-committers

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
supportedby the compiler.  CF configure.in. 

Andres


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



pgsql-committers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgsql: Fix memory leak in pgbench
Next
From: Fabien COELHO
Date:
Subject: Re: pgsql: Fix memory leak in pgbench