From: Bruce Momjian <pgman@candle.pha.pa.us>
To: John DeSoi <jd@icx.net>
Cc: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: sleep function
Date: Tue, 10 Aug 2004 10:57:57 -0400 (EDT)
Message-ID: <200408101457.i7AEvvc15187@candle.pha.pa.us> (raw)
In-Reply-To: <4A5A07BF-EAD6-11D8-AA6F-000A95B03262@icx.net>
John DeSoi wrote:
> Is there a sleep function of some kind? I wanted to simulate a query
> taking a long time to execute for testing purposes.
I can't think of one, no. I think you will have to use one of the
server-side languages and call a sleep in there.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, jd@icx.net
Subject: Re: sleep function
In-Reply-To: <200408101457.i7AEvvc15187@candle.pha.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