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

From Harald Massa
Subject Re: pg_autovacuum does not start on system startup - 8.0 Release -
Date
Msg-id 13916.1106564530@www5.gmx.net
Whole thread Raw
In response to Re: pg_autovacuum does not start on system startup - 8.0 Release -  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-hackers-win32
Dave,

> > So I would suggest to integrate that sleepy workaround within
> > pg_autovacuum service. Just let it sleep for 'some time' ... maybe even
> > configurable before it connects.
> Uh-huh :-)
>
> The problem with that is that with service start taking 3 minutes,
> restarting the service manually could be somewhat annoying for simple
> config changes (bear in mind that the service doesn't report that it is
> running until it has connected successfully to the database). What about
> a command line option to specify a delay? That way the user will know
> about it because they will have specified it?

Yeah, I meant that when writing "configurable" ... that is ment to be a
command line parameter. So maybe the default should be 0 to 3 seconds.
(and the command line switch should expect seconds)

Harald




pgsql-hackers-win32 by date:

Previous
From: "Harald Massa"
Date:
Subject: long sql "in" clause crashes server process (8.0 Release)
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: pg_autovacuum does not start on system