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

From Andrew Dunstan
Subject Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum
Date
Msg-id 33833.24.211.141.25.1106316032.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-patches
Dave Page said:
>

>>
>> Hmm:
>>
>> Windows:
>>
>> VOID Sleep(DWORD dwMilliseconds);
>>
>> Unix:
>>
>> unsigned int sleep(unsigned int seconds);
>>
>> D'oh!
>>
>> Patch coming up....
>

We should not be using either of these, should we? pg_usleep() is platform
independent.

cheers

andrew



pgsql-patches by date:

Previous
From: "Dave Page"
Date:
Subject: Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum
Next
From: "Dave Page"
Date:
Subject: Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum