Re: time delay function

Поиск
Список
Период
Сортировка
От Christoph Haller
Тема Re: time delay function
Дата
Msg-id 3F1CF45E.901B6657@rodos.fzk.de
обсуждение исходный текст
Ответ на time delay function  ("Girish Bajaj" <gbajaj@tietronix.com>)
Ответы Re: time delay function  (Robert Treat <xzilla@users.sourceforge.net>)
Список 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




В списке pgsql-sql по дате отправления:

Предыдущее
От: "Girish Bajaj"
Дата:
Сообщение: time delay function
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: time delay function