Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 74EE89FB584 for ; Thu, 5 Jul 2007 16:13:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 03974-06 for ; Thu, 5 Jul 2007 16:12:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp114.plus.mail.re1.yahoo.com (smtp114.plus.mail.re1.yahoo.com [69.147.102.77]) by postgresql.org (Postfix) with SMTP id 002719FB51A for ; Thu, 5 Jul 2007 16:12:59 -0300 (ADT) Received: (qmail 63129 invoked from network); 5 Jul 2007 19:12:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=Yahoo.com; h=Received:X-YMail-OSG:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=3c+4NgBsav1HgBl6HYSN823aH22bFI7+JvT7GkqucvaXmp76+1BnKzv1NxlqDFcvFO/a+SLMbZFFlkPbPE5/WQS0lzgp346MVnvx6UOlde1QMp1x/pdGQbK7e1WQo41PKdUDImDZZCz0jvsC93tL/cO17+K7dnF5zD98DZeqMkk= ; Received: from unknown (HELO jupiter.jannicash.info) (janwieck@68.34.254.79 with login) by smtp114.plus.mail.re1.yahoo.com with SMTP; 5 Jul 2007 19:12:57 -0000 X-YMail-OSG: MRvD3AUVM1lV_Iu2DQ0xe_QK0uAUBlG.lScLviw28u2JNVs3m7pDjk30mXUAPj65E.q_kQSU1Q-- Received: from [172.21.8.128] (mars.jannicash.info [192.168.192.101]) (authenticated bits=0) by jupiter.jannicash.info (8.12.10/8.12.9) with ESMTP id l65JCuHY003411; Thu, 5 Jul 2007 15:12:56 -0400 (EDT) (envelope-from JanWieck@Yahoo.com) Message-ID: <468D42B3.4010701@Yahoo.com> Date: Thu, 05 Jul 2007 15:12:51 -0400 From: Jan Wieck User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: PostgreSQL Development Subject: usleep feature for pgbench Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.913 tagged_above=0 required=5 tests=AWL=-1.578, BAYES_50=0.001, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, DNS_FROM_RFC_WHOIS=1.447, FORGED_RCVD_HELO=0.135 X-Spam-Level: * X-Archive-Number: 200707/140 X-Sequence-Number: 105055 To test some changes in Slony I needed a \usleep [microseconds|:variable] in pgbench's scripting language to be able to have hundreds of concurrent running transactions without totally swamping the system. I was wondering if anyone would object to permanently adding this to the pgbench code? Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #