Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow
Date
Msg-id 42821FCA.6080208@dunslane.net
Whole thread Raw
In response to Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow
List pgsql-patches

Bruce Momjian wrote:

>          */
>! #ifndef WIN32
>!         sleep(sleep_secs);            /* Unix sleep is seconds */
>! #else
>!         sleep(sleep_secs * 1000);    /* Win32 sleep() is milliseconds */
>
>

Shouldn't the be Sleep with a capital S? see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/sleep.asp


cheers

andrew

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: plperl and pltcl installcheck targets
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow