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

From Dave Page
Subject Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E45285AA@ratbert.vale-housing.co.uk
Whole thread Raw
Responses Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-patches

> -----Original Message-----
> From: pgsql-hackers-win32-owner@postgresql.org
> [mailto:pgsql-hackers-win32-owner@postgresql.org] On Behalf
> Of Dave Page
> Sent: 21 January 2005 13:20
> To: Harald Massa; pgsql-hackers-win32@postgresql.org
> Subject: Re: [pgsql-hackers-win32] 300 seconds in less than 1
> second with pg_autovacuum
>
>
>
> > -----Original Message-----
> > From: pgsql-hackers-win32-owner@postgresql.org
> > [mailto:pgsql-hackers-win32-owner@postgresql.org] On Behalf
> > Of Harald Massa
> > Sent: 21 January 2005 12:55
> > To: pgsql-hackers-win32@postgresql.org
> > Subject: [pgsql-hackers-win32] 300 seconds in less than 1
> > second with pg_autovacuum
> >
> > What is going wrong? I did not fiddle with the
> > "Sleep-Period", just left it
> > on default.
> >
>
> Hmm:
>
> Windows:
>
> VOID Sleep(DWORD dwMilliseconds);
>
> Unix:
>
> unsigned int sleep(unsigned int seconds);
>
> D'oh!
>
> Patch coming up....

Patch attached... Harald, do you want another exe to try?

Regards, Dave

Attachment

pgsql-patches by date:

Previous
From: "Harald Massa"
Date:
Subject: Re: [pgsql-hackers-win32] pg_autovacuum fails to start - 8.0 Release
Next
From: "Andrew Dunstan"
Date:
Subject: Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum