From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thom Brown <thom@linux.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: pgbench % output incorrect with large scales
Date: Sat, 20 Oct 2012 12:46:34 -0400
Message-ID: <244.1350751594@sss.pgh.pa.us> (raw)
In-Reply-To: <CAA-aLv7JXKZoMrvmFk2s4iJJ9kwHNPxhjVZjAYYtV12Wq+R+CQ@mail.gmail.com>
References: <CAA-aLv7JXKZoMrvmFk2s4iJJ9kwHNPxhjVZjAYYtV12Wq+R+CQ@mail.gmail.com>
Thom Brown <thom@linux.com> writes:
> I've run pgbench with a scale of 2000, and have noticed that the %
> done goes a bit wonky:
> ...
> Presumably this is just an int overflowing repeatedly.
Yeah, fixed. Thanks for the report!
(FWIW, you're not all that far away from the threshold where the integer
table columns wouldn't be wide enough. I don't think we want to change
those datatypes, though.)
regards, tom lane
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: tgl@sss.pgh.pa.us, thom@linux.com
Subject: Re: pgbench % output incorrect with large scales
In-Reply-To: <244.1350751594@sss.pgh.pa.us>
References: <CAA-aLv7JXKZoMrvmFk2s4iJJ9kwHNPxhjVZjAYYtV12Wq+R+CQ@mail.gmail.com> <244.1350751594@sss.pgh.pa.us>
* 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