Re: sleep function

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: sleep function
Дата
Msg-id 200408101457.i7AEvvc15187@candle.pha.pa.us
обсуждение исходный текст
Ответ на sleep function  (John DeSoi <jd@icx.net>)
Ответы Re: sleep function  (John DeSoi <jd@icx.net>)
Список pgsql-sql
John DeSoi wrote:
> Is there a sleep function of some kind? I wanted to simulate a query 
> taking a long time to execute for testing purposes.

I can't think of one, no.  I think you will have to use one of the
server-side languages and call a sleep in there.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: John DeSoi
Дата:
Сообщение: sleep function
Следующее
От: Joe Conway
Дата:
Сообщение: Re: function expression in FROM may not refer to other relations