Re: time delay function

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: pgsql-sql(at)postgresql(dot)org, gbajaj(at)tietronix(dot)com
Subject: Re: time delay function
Date: 2003-07-22 08:22:54
Message-ID: 3F1CF45E.901B6657@rodos.fzk.de
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 con
tinuing to execute the next sql statment?
>
AFAIK there is no such thing.
But probably you can write a C function,
which waits for N seconds and which can
be called by your plpgsql function.
Regards, Christoph

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2003-07-22 09:34:54 Re: time delay function
Previous Message Girish Bajaj 2003-07-22 07:59:31 time delay function