newsgroups-index (beta)

Current group: pgsql.patches

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  
Andrew Dunstan
From:Andrew Dunstan
Subject:Re: [pgsql-hackers-win32] 300 seconds in less than 1 second with pg_autovacuum
Date:Fri, 21 Jan 2005 08:00:32 -0600 (CST)
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



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum