Re: [pgsql-hackers-win32] pg_autovacuum fails to start - 8.0 Release - Mailing list pgsql-patches

From Dave Page
Subject Re: [pgsql-hackers-win32] pg_autovacuum fails to start - 8.0 Release
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4528596@ratbert.vale-housing.co.uk
Whole thread Raw
Responses Re: [pgsql-hackers-win32] pg_autovacuum fails to start - 8.0  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches

> -----Original Message-----
> From: pgsql-patches-owner@postgresql.org
> [mailto:pgsql-patches-owner@postgresql.org] On Behalf Of Dave Page
> Sent: 20 January 2005 15:29
> To: Harald Massa; pgsql-hackers-win32@postgresql.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

pgsql-patches by date:

Previous
From: Jean-Paul Argudo
Date:
Subject: Tiny patch on print.c of psql
Next
From: "Harald Massa"
Date:
Subject: Re: [pgsql-hackers-win32] pg_autovacuum fails to start - 8.0 Release