From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | Tom Lane <tgl(at)svr1(dot)postgresql(dot)org> |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: In the stats test, delay for the stats collector to catch up |
Date: | 2005-07-23 14:52:06 |
Message-ID: | 20050723145206.GA93904@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
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.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-07-23 14:53:21 | pgsql: Improve computations of interval_div to prevent rounding problem |
Previous Message | User Andrewd | 2005-07-23 14:40:23 | pgbuildfarm - client-code: save config log and CVS log where possible. |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-07-23 14:53:43 | Re: [HACKERS] regressin failure on latest CVS |
Previous Message | Bruce Momjian | 2005-07-23 14:20:06 | Re: pgsql: In the stats test, delay for the stats collector |