Thread: Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum

Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum

From
"Dave Page"
Date:

> -----Original Message-----
> From: Andrew Dunstan [mailto:andrew@dunslane.net]
> Sent: 21 January 2005 14:01
> To: Dave Page
> Cc: ghum@gmx.net; pgsql-hackers-win32@postgresql.org;
> pgsql-patches@postgresql.org
> Subject: Re: [PATCHES] [pgsql-hackers-win32] 300 seconds in
> less than 1 second with pg_autovacuum
>
>
>
> We should not be using either of these, should we?
> pg_usleep() is platform
> independent.

True. Attached.

Regards, Dave.

Attachment

Re: [pgsql-hackers-win32] 300 seconds in less than 1 second

From
Bruce Momjian
Date:
[ Previous sleep() patch removed.]

Your patch has been added to the PostgreSQL unapplied patches list at:

    http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------


Dave Page wrote:
>
>
> > -----Original Message-----
> > From: Andrew Dunstan [mailto:andrew@dunslane.net]
> > Sent: 21 January 2005 14:01
> > To: Dave Page
> > Cc: ghum@gmx.net; pgsql-hackers-win32@postgresql.org;
> > pgsql-patches@postgresql.org
> > Subject: Re: [PATCHES] [pgsql-hackers-win32] 300 seconds in
> > less than 1 second with pg_autovacuum
> >
> >
> >
> > We should not be using either of these, should we?
> > pg_usleep() is platform
> > independent.
>
> True. Attached.
>
> Regards, Dave.

Content-Description: pg_autovacuum.c.diff

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
  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, Pennsylvania 19073