Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Lionel Bouton <lionel-subscription(at)bouton(dot)name>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow
Date: 2005-05-11 15:07:54
Message-ID: 42821FCA.6080208@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2005-05-11 15:13:41 Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow
Previous Message Michael Beckstette 2005-05-11 14:59:43 Missing tables in postgresql 7.2.4

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-05-11 15:13:41 Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow
Previous Message Andrew Dunstan 2005-05-11 14:55:08 plperl and pltcl installcheck targets