X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 1C88D9FB3DF for ; Fri, 18 Aug 2006 17:31:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 90801-01-2 for ; Fri, 18 Aug 2006 17:29:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id ABA6F9FB21D for ; Fri, 18 Aug 2006 17:29:14 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.7/8.13.7) with ESMTP id k7IKStqp023764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 18 Aug 2006 14:28:57 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.6/8.13.6) with ESMTP id k7IKSsFf080756; Fri, 18 Aug 2006 14:28:54 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.6/8.13.6/Submit) id k7IKSsII080755; Fri, 18 Aug 2006 14:28:54 -0600 (MDT) (envelope-from mfuhr) Date: Fri, 18 Aug 2006 14:28:54 -0600 From: Michael Fuhr To: John DeSoi Cc: Benjamin Krajmalnik , pgsql-admin@postgresql.org Subject: Re: Inserting a timed delay in a pl/pgsql procedure Message-ID: <20060818202854.GA79876@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.269 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/227 X-Sequence-Number: 22770 On Fri, Aug 18, 2006 at 03:50:02PM -0400, John DeSoi wrote: > The only other solution I recall was to use a different pl language > like perl which has a proper sleep function. That's what I've done. 8.2 will have a pg_sleep() function so writing your own will no longer be necessary. http://archives.postgresql.org/pgsql-committers/2006-01/msg00187.php -- Michael Fuhr