Re: pgsql: pgbench: Allow changing weights for scripts

From: Andres Freund <andres(at)anarazel(dot)de>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: pgbench: Allow changing weights for scripts
Date: 2016-03-19 19:31:40
Message-ID: 20160319193140.qvnfvix5eepbz6p7@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 2016-03-19 20:23:03 +0100, Fabien COELHO wrote:
>
> >pgbench.c:2765: warning: 'ps.stats.lag.sum2' is used uninitialized in this function
>
> Sorry for the noise.
>
> Strangely, I did not get that warning with gcc 4.8.4.
>
> ISTM that in stack variables are initialized to zero automatically, so
> although it is not explicitely initialized, it is not uninitialized...

Uh? They're not.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Fabien COELHO 2016-03-19 19:46:24 Re: pgsql: pgbench: Allow changing weights for scripts
Previous Message Fabien COELHO 2016-03-19 19:23:03 Re: pgsql: pgbench: Allow changing weights for scripts