pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Kingter Wang <tew@vmware.com>
Cc: pgsql-bugs@postgresql.org
Cc: Michael Paquier <mpaquier@vmware.com>
Cc: Jignesh Shah <jshah@vmware.com>
Subject: Re: pgbench show progress report extremely frequently if "--progress" >= 2148 caused by integer overflow
Date: Fri, 17 Jan 2014 10:14:53 +0200
Message-ID: <52D8E67D.9050603@vmware.com> (raw)
In-Reply-To: <1144780387.13149347.1389941518395.JavaMail.root@vmware.com>
References: <1144780387.13149347.1389941518395.JavaMail.root@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <52D8E67D.9050603@vmware.com>
Permalink:  ../52D8E67D.9050603@vmware.com/
Also on:    postgresql.org/message-id/52D8E67D.9050603@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: hlinnakangas@vmware.com, tew@vmware.com, mpaquier@vmware.com, jshah@vmware.com
  Subject: Re: pgbench show progress report extremely frequently if "--progress" >= 2148 caused by integer overflow
  In-Reply-To: <52D8E67D.9050603@vmware.com>
  References: <1144780387.13149347.1389941518395.JavaMail.root@vmware.com> <52D8E67D.9050603@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox