X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 97432D6FDA for ; Mon, 22 Aug 2005 11:24:54 -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 79173-10 for ; Mon, 22 Aug 2005 14:24:52 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id D566FD6FEC for ; Mon, 22 Aug 2005 11:24:50 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j7MEObk10012; Mon, 22 Aug 2005 10:24:37 -0400 (EDT) From: Bruce Momjian Message-Id: <200508221424.j7MEObk10012@candle.pha.pa.us> Subject: Re: sleep? In-Reply-To: <20050822140133.GA60020@winnie.fuhr.org> To: Michael Fuhr Date: Mon, 22 Aug 2005 10:24:37 -0400 (EDT) Cc: Don Drake , John DeSoi , Guido Barosio , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (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.01 required=5 tests=[AWL=0.010] X-Spam-Level: X-Archive-Number: 200508/261 X-Sequence-Number: 18580 Michael Fuhr wrote: > On Mon, Aug 22, 2005 at 08:34:29AM -0500, Don Drake wrote: > > I agree that a basic function (non-CPU intensive sleep) like this should be > > built in. > > It's being discussed in pgsql-hackers: > > http://archives.postgresql.org/pgsql-hackers/2005-08/msg00633.php > > Do you have any use cases in addition to what's already been > mentioned? Sleeping isn't really a database operation, so there > needs to be some justification for making it a standard function. Well, we needed it for our own regression tests, so I assume others would need it as well. -- 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