Re: sleep function

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: John DeSoi <jd(at)icx(dot)net>
Cc: PostgreSQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: sleep function
Date: 2004-08-10 14:57:57
Message-ID: 200408101457.i7AEvvc15187@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Joe Conway 2004-08-10 17:41:46 Re: function expression in FROM may not refer to other relations
Previous Message John DeSoi 2004-08-10 14:05:09 sleep function