Re: [PATCHES] 300 seconds in less than 1 second with pg_autovacuum
- From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
- To: <dpage(at)vale-housing(dot)co(dot)uk>
- Cc: <ghum(at)gmx(dot)net>, <pgsql-hackers-win32(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org>
- Subject: Re: [PATCHES] 300 seconds in less than 1 second with pg_autovacuum
- Date: Fri, 21 Jan 2005 08:00:32 -0600 (CST)
- Message-id: <33833(dot)24(dot)211(dot)141(dot)25(dot)1106316032(dot)squirrel(at)www(dot)dunslane(dot)net>
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
Home |
Main Index |
Thread Index