Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Fri, 21 Jan 2005 09:39:13 -0000
  • Message-id: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4528596(at)ratbert(dot)vale-housing(dot)co(dot)uk>

 

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group