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

From Bruce Momjian
Subject Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow
Date
Msg-id 200505111547.j4BFlRD06454@candle.pha.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #1588: pg_autovacuum sleep parameter overflow  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan wrote:
> Strange ... as long as you #include <windows.h> it should be fine, and
> pg_autovacuum.c already does include it.
>
> Anyway, whatever works, I guess.
>

Ah, my test program did not include "windows.h".  I found it understood
sleep() with just the standard Unix includes.  I did not test compiling
pg_autovacuum itself.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: plperl and pltcl installcheck targets
Next
From: Bruce Momjian
Date:
Subject: Re: update some urls