On Thu, Apr 11, 2019 at 12:58 PM Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
>
> On 2019-Apr-10, 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
>
> > I think we should declare is_last before doing next_res = PQgetResult(st->con).
> >
> > Attached patch fixes it.
>
> Thanks, pushed.
>
Thank you!
Regards,
--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center