Re: pgbench stats per script & other stuff - Mailing list pgsql-hackers

From Jeff Janes
Subject Re: pgbench stats per script & other stuff
Date
Msg-id CAMkU=1xs2rUv5q2F6hBE0MWE+SbhOZ+i4yASOGXQps6=G0+D3w@mail.gmail.com
Whole thread Raw
In response to Re: pgbench stats per script & other stuff  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Sat, Mar 19, 2016 at 11:34 AM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> Jeff Janes wrote:
>> On Sat, Mar 19, 2016 at 8:41 AM, Alvaro Herrera
>> <alvherre@2ndquadrant.com> wrote:
>> > I pushed your 25, with some additional minor tweaks.  I hope I didn't
>> > break anything; please test.
>>
>> I'm now getting compiler warnings:
>>
>> gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
>>
>>
>> pgbench.c: In function 'process_builtin':
>> pgbench.c:2765: warning: 'ps.stats.lag.sum2' is used uninitialized in
>> this function
>
> Fair complaints.  I suppose the following should fix them?


Yes, that fixes them.

Thanks,

Jeff



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: incorrect docs for pgbench / skipped transactions
Next
From: Fabien COELHO
Date:
Subject: Re: incorrect docs for pgbench / skipped transactions