Skip site navigation (1) Skip section navigation (2)

Re: [COMMITTERS] pgsql: In the stats test, delay for the stats collector

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Tom Lane <tgl(at)svr1(dot)postgresql(dot)org>,PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [COMMITTERS] pgsql: In the stats test, delay for the stats collector
Date: 2005-07-23 14:54:22
Message-ID: 200507231454.j6NEsMS09631@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-hackers by date

Next:From: Rocco AltierDate: 2005-07-23 15:15:44
Subject: Re: [HACKERS] regressin failure on latest CVS
Previous:From: Bruce MomjianDate: 2005-07-23 14:53:43
Subject: Re: [HACKERS] regressin failure on latest CVS

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-07-23 15:29:47
Subject: pgsql: Macro alignment cleanup.
Previous:From: Bruce MomjianDate: 2005-07-23 14:53:21
Subject: pgsql: Improve computations of interval_div to prevent rounding problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group