time delay function

From: "Girish Bajaj" <gbajaj(at)tietronix(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: time delay function
Date: 2003-07-22 07:59:31
Message-ID: 200307220259.AA56950830@hermes.tietronix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Pseudo code:

begin trans
select * from table1
WAIT FOR 20 SECS
update table1 set blah = 'blah'
end transcation

In pgplsql, Im looking for something like a function that I can use to make the process to wait for 20 secs before continuing to execute the next sql statment?

Thanks,
Girish

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Christoph Haller 2003-07-22 08:22:54 Re: time delay function
Previous Message Tom Lane 2003-07-22 06:09:09 Re: min() and NaN