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

From Dave Page
Subject Re: 300 seconds in less than 1 second with pg_autovacuum
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E45285A9@ratbert.vale-housing.co.uk
Whole thread Raw
In response to 300 seconds in less than 1 second with pg_autovacuum  ("Harald Massa" <ghum@gmx.net>)
List pgsql-hackers-win32

> -----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....

/D

pgsql-hackers-win32 by date:

Previous
From: "Harald Massa"
Date:
Subject: Re: 300 seconds in less than 1 second with pg_autovacuum
Next
From: "Paul Kirschner"
Date:
Subject: Invalid username specified