usleep feature for pgbench

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: usleep feature for pgbench
Date: 2007-07-05 19:12:51
Message-ID: 468D42B3.4010701@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)Yahoo(dot)com #

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-07-05 19:15:34 Re: unclean SPI_scroll_cursor_move documentation, is SPI_tuptable valid?
Previous Message Tom Lane 2007-07-05 18:49:13 Re: [PATCH] A crash and subsequent recovery of themaster can cause the slave to get out-of-sync