Michael Fuhr wrote: > On Sat, Jul 23, 2005 at 11:18:57AM -0300, Tom Lane wrote: > > In the stats test, delay for the stats collector to catch up using a > > function that actually sleeps, instead of busy-waiting. Perhaps this > > will resolve some of the intermittent stats failures we keep seeing. > > Any chance of exposing a sleep function to the user? It's admittedly > of limited utility and it can usually be done on the client side, > but I've occasionally wanted one for testing with simple SQL scripts. > In such cases I end up writing a one-liner with PL/Perl, PL/Tcl, etc. Agreed --- I was thinking the same thing. -- 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
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера