Re: pgbench show progress report extremely frequently if "--progress" >= 2148 caused by integer overflow

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Kingter Wang <tew(at)vmware(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, Michael Paquier <mpaquier(at)vmware(dot)com>, Jignesh Shah <jshah(at)vmware(dot)com>
Subject: Re: pgbench show progress report extremely frequently if "--progress" >= 2148 caused by integer overflow
Date: 2014-01-17 08:14:53
Message-ID: 52D8E67D.9050603@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 01/17/2014 08:51 AM, Kingter Wang wrote:
> Fix Integer overflow which happened when covert progress from seconds to micro-seconds by
> (progress * 1000000) if progress >= 2148.
> Attached the patch.

Thanks, committed.

- Heikki

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2014-01-17 08:50:29 Re: hot_standby_feedback doesn't work on busy servers in 9.3+
Previous Message Kingter Wang 2014-01-17 06:51:58 pgbench show progress report extremely frequently if "--progress" >= 2148 caused by integer overflow