Re: [PATCHES] pg_autovacuum fails to start - 8.0 Release

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Harald Massa" <ghum(at)gmx(dot)net>, <pgsql-hackers-win32(at)postgresql(dot)org>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] pg_autovacuum fails to start - 8.0 Release
Date: 2005-01-21 09:39:13
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4528596@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

> -----Original Message-----
> From: pgsql-patches-owner(at)postgresql(dot)org
> [mailto:pgsql-patches-owner(at)postgresql(dot)org] On Behalf Of Dave Page
> Sent: 20 January 2005 15:29
> To: Harald Massa; pgsql-hackers-win32(at)postgresql(dot)org
> Cc: Patches (PostgreSQL)
> Subject: Re: [PATCHES] [pgsql-hackers-win32] pg_autovacuum
> fails to start - 8.0 Release
>
> It appears I didn't read the docs properly when I write that
> bit - the dependencies parameter passed to CreateService() is
> supposed to be double-null terminated - a subtle point I missed :-(
>
> The attached patch fixes this. Harald - I can email an
> updated .exe if you want to test, otherwise, you should be
> able to use the current version if you cleanup the
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\pg_autova
> cuum\DependOnService registry key.

Sorry - the attached patch supercedes the original. It also directs
errors when installing/removing the windows service to stderr, rather
than other logs.

Regards, Dave.

Attachment Content-Type Size
pg_autovacuum.c.diff application/octet-stream 2.8 KB

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Harald Massa 2005-01-21 10:36:51 Re: [PATCHES] pg_autovacuum fails to start - 8.0 Release
Previous Message Dave Page 2005-01-20 16:23:47 Re: pg_autovacuum fails to start - 8.0 Release

Browse pgsql-patches by date

  From Date Subject
Next Message Nicolai Tufar 2005-01-21 10:02:38 Re: Translations at pgfoundry (was Re: [PATCHES] Latest Turkish translation updates)
Previous Message Jean-Paul Argudo 2005-01-21 08:37:09 Tiny patch on print.c of psql