> -----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:
pg_autovacuum.c.diff
Description: pg_autovacuum.c.diff