Re: [PATCHES] pg_autovacuum fails to start - 8.0

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Harald Massa <ghum(at)gmx(dot)net>, pgsql-hackers-win32(at)postgresql(dot)org, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] pg_autovacuum fails to start - 8.0
Date: 2005-01-23 02:25:24
Message-ID: 200501230225.j0N2PO011841@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches


[ 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: 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.

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
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Paul Kirschner 2005-01-23 03:06:45 Re: Invalid username specified
Previous Message Bruce Momjian 2005-01-23 01:23:34 Re: pg_autovacuum fails to start - 8.0 Release

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-01-23 03:02:25 Re: [PATCHES] Merge pg_shadow && pg_group -- UNTESTED
Previous Message Bruce Momjian 2005-01-23 01:23:34 Re: pg_autovacuum fails to start - 8.0 Release