Re: pg_autovacuum Win32 Service Code - Mailing list pgsql-hackers

From Dave Page
Subject Re: pg_autovacuum Win32 Service Code
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E41A76B3@ratbert.vale-housing.co.uk
Whole thread Raw
In response to pg_autovacuum Win32 Service Code  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-hackers

> -----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

pgsql-hackers by date:

Previous
From: LISTMAN
Date:
Subject: Re: [ADMIN] Where does the xlateSqlType symbol point
Next
From: "Dave Page"
Date:
Subject: 8.0 Release notes