Re: [pgsql-hackers-win32] pg_autovacuum fails to start - 8.0

Bruce Momjian <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.patches,gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
[ Old version superceeded.]


Your patch has been added to the PostgreSQL unapplied patches list at:

	http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------


Dave Page wrote:
>  
> 
> > -----Original Message-----
> > From: [email protected] 
> > [mailto:[email protected]] On Behalf Of Dave Page
> > Sent: 20 January 2005 15:29
> > To: Harald Massa; [email protected]
> > 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.

Content-Description: pg_autovacuum.c.diff

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [email protected] so that your
      message can get through to the mailing list cleanly
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.