Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TPcC7-0002a5-3E for pgsql-bugs@postgresql.org; Sat, 20 Oct 2012 16:46:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TPcC5-00044h-Ge for pgsql-bugs@postgresql.org; Sat, 20 Oct 2012 16:46:38 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q9KGkYTb000245; Sat, 20 Oct 2012 12:46:35 -0400 (EDT) From: Tom Lane To: Thom Brown cc: pgsql-bugs Subject: Re: pgbench % output incorrect with large scales In-reply-to: References: Comments: In-reply-to Thom Brown message dated "Sat, 20 Oct 2012 13:30:19 +0100" Date: Sat, 20 Oct 2012 12:46:34 -0400 Message-ID: <244.1350751594@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201210/194 X-Sequence-Number: 34494 Thom Brown 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