Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id CC8F1B5DC4B for ; Sat, 27 Aug 2011 01:56:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 84846-02 for ; Sat, 27 Aug 2011 04:56:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 31C78B5DC49 for ; Sat, 27 Aug 2011 01:56:27 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p7R4uOoc011124; Sat, 27 Aug 2011 00:56:24 -0400 (EDT) To: "mark" cc: pgsql-bugs@postgresql.org Subject: Re: pgbench -T isn't a hard cutoff. In-reply-to: <005a01cc6467$410a87c0$c31f9740$@com> References: <005a01cc6467$410a87c0$c31f9740$@com> Comments: In-reply-to "mark" message dated "Fri, 26 Aug 2011 21:13:10 -0600" Date: Sat, 27 Aug 2011 00:56:24 -0400 Message-ID: <11123.1314420984@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.441 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.541 X-Spam-Level: X-Archive-Number: 201108/162 X-Sequence-Number: 30974 "mark" writes: > Expected behavior would be -T would mean a hard cut off. Why would you expect that? What I'd expect is that each transaction would be run to completion, which would mean that -T cannot possibly be exact. Even if it were, what's your notion of "exact"? Clock resolutions are different on different platforms. regards, tom lane