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 3AD9D5E3639 for ; Mon, 23 Aug 2004 10:37:26 -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 04822-10 for ; Mon, 23 Aug 2004 13:37:21 +0000 (GMT) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by svr1.postgresql.org (Postfix) with ESMTP id DADFC5E46FA for ; Mon, 23 Aug 2004 10:37:18 -0300 (ADT) Received: from user-1120v8p.dsl.mindspring.com ([66.32.125.25] helo=[192.168.1.10]) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BzF0l-0005Zr-00; Mon, 23 Aug 2004 06:37:23 -0700 In-Reply-To: <87hdqu5x5q.fsf@stark.xeocode.com> References: <200408101457.i7AEvvc15187@candle.pha.pa.us> <46D44C5D-EBCF-11D8-A1CD-000A95B03262@icx.net> <87hdqu5x5q.fsf@stark.xeocode.com> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <638F635D-F509-11D8-8AE2-000A95B03262@icx.net> Content-Transfer-Encoding: 7bit Cc: PostgreSQL From: John DeSoi Subject: Re: sleep function Date: Mon, 23 Aug 2004 09:36:08 -0400 To: Greg Stark X-Mailer: Apple Mail (2.613) 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/243 X-Sequence-Number: 18740 Hi Greg, On Aug 22, 2004, at 11:52 PM, Greg Stark wrote: > test=# create or replace function sleep(integer) returns integer as > 'return sleep(shift)' language plperlu; > CREATE FUNCTION > The original request was for something in built-in to PostgreSQL. I have not used plperl (or any of the other pl languages), but I assume there will be additional installation and configuration issues to use them. But thanks for the example, it will be helpful if I need something more processor friendly. Best, John DeSoi, Ph.D.