Re: SLEEP in posgresql

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: SLEEP in posgresql
Дата
Msg-id 470C8C3E.3060806@archonet.com
обсуждение исходный текст
Ответ на Re: SLEEP in posgresql  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
Ответы Re: SLEEP in posgresql  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
Список pgsql-general
Jasbinder Singh Bali wrote:
> What if its just SLEEP for 1 second. Why would it keep my stored procedure
> hanging ?

Because presumably your loop-condition isn't under your control
(otherwise you wouldn't need to sleep).

Can you *always* guarantee the condition (a=b) will happen within a
reasonable time-frame?

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Upper and Lower-cased Database names?
Следующее
От: "Jasbinder Singh Bali"
Дата:
Сообщение: Re: SLEEP in posgresql