Re: pg_autovacuum does not start on system startup - 8.0 Release - - Mailing list pgsql-hackers-win32

From Dave Page
Subject Re: pg_autovacuum does not start on system startup - 8.0 Release -
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E452863F@ratbert.vale-housing.co.uk
Whole thread Raw
List pgsql-hackers-win32

> -----Original Message-----
> From: Matthew T. O'Connor [mailto:matthew@tocr.com]
> Sent: 24 January 2005 17:32
> To: Dave Page
> Cc: Harald Massa; pgsql-hackers-win32@postgresql.org
> Subject: Re: [pgsql-hackers-win32] pg_autovacuum does not
> start on system startup - 8.0 Release -
>
> One answer might be to  have pg_autovacuum not be so
> pessimistic failed
> connections.  I wrote it so that pg_autovacuum exits if it fails to
> connect.  Perhaps instead, when pg_autovacuum fails to
> connect it should
> sleep for a while and then retry.   Perhaps the best plan
> would be a new
> command line option that when used tells pg_autovacuum to continue to
> retry for ever, when not used, it will still work the way it
> always did.

Yeah, that's essentially what we're testing at the moment. If the
connection fails, it waits 30 seconds and trys again before bailing out
(though it only does it in Windows Service mode as the is the most
un-controllable startup type). It's a pretty un-invasive patch that
avoids adding command line options etc.

Regards, Dave.

pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: long sql "in" clause crashes server process (8.0 Release)
Next
From: "Merlin Moncure"
Date:
Subject: Re: long sql "in" clause crashes server process (8.0 Release)