Win32 pg_autovacuum service

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Win32 pg_autovacuum service
Date: 2004-05-11 08:31:17
Message-ID: 03AF4E498C591348A42FC93DEA9661B889FCFD@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

The attached patch allows pg_autovacuum to run as an application or a
service on Win32. There are minor changes that also affect *nix -
mainly:

- The error logging function now takes an error level as an argument for
more consistent formatting and use in the windows event log.
- The default debug level is now 0 as 1 was creating a huge amount of
log output even on a small database.
- The main program loop has been moved into a separate function so it
can be called by the windows Service Control Manager.

Regards, Dave.

Attachment Content-Type Size
pg_autovacuum3.diff application/octet-stream 49.0 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-05-11 09:09:38 Re: pgkill for windows
Previous Message Peter Eisentraut 2004-05-11 08:30:50 Re: pgkill for windows