 

> -----Original Message-----
> From: Matthew T. O'Connor [mailto:matthew@zeut.net] 
> Sent: 10 August 2004 21:41
> To: Tom Lane
> Cc: Dave Page; PostgreSQL-development; 
> pgsql-hackers-win32@postgresql.org; Bruce Momjian
> Subject: Re: [HACKERS] pg_autovacuum Win32 Service Code
> 
> One comment: IMHO the pg_autovacuum service should probably 
> be dependant on the PostgreSQL service.  This will 
> cooridinate their respective startups and shutdowns, and will 
> prevent pg_autovacuum from exiting with an error message 
> about not able to connect to the postmaster.

Yes, agreed - the problem with that is that we don't know the name of
the service until it's been installed (as the user can change it), and
even then we only know it if it's been installed by the installer which
logs the service details in a known section of the registry for apps
like pgAdmin to find and use. 

I believe I can setup all of that in the installer and avoid using the
install-as-service option in a normal installation - anyone who does
want to use that option will have to manually add the correct
dependency.

> Dave, do you plan on having the windows installer 
> automatically install pg_autovacuum and setup the service?

Yup.

Regards Dave

Wed, 11 Aug 2004 08:28:41 +0100
"Dave Page" <dpage@vale-housing.co.uk>
Re: pg_autovacuum Win32 Service Code