X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2BAAE14B2800 for ; Tue, 10 Aug 2004 11:58:08 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13277-08 for ; Tue, 10 Aug 2004 14:57:58 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id F331114B281E for ; Tue, 10 Aug 2004 11:57:55 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i7AEvvc15187; Tue, 10 Aug 2004 10:57:57 -0400 (EDT) From: Bruce Momjian Message-Id: <200408101457.i7AEvvc15187@candle.pha.pa.us> Subject: Re: sleep function In-Reply-To: <4A5A07BF-EAD6-11D8-AA6F-000A95B03262@icx.net> To: John DeSoi Date: Tue, 10 Aug 2004 10:57:57 -0400 (EDT) Cc: PostgreSQL X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/73 X-Sequence-Number: 18570 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