pg_autovacuum in 8beta-dev3 small bug

Lists: pgsql-bugspgsql-hackerspgsql-hackers-win32
From: "Leen Besselink" <leen(at)wirehub(dot)nl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: pg_autovacuum in 8beta-dev3 small bug
Date: 2004-10-27 16:23:28
Message-ID: 2430.212.203.25.37.1098894208.squirrel@212.203.25.37
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers pgsql-hackers-win32

Hi folks,

8.0beta3 has pg_autovacuum included, when I want to run this as a Windows
service, it says you can use the -I and -R options.

When I do that and I specify a password with '-P' (uppercase) then in the
registry it's saved as '-p' (lowercase) in the service-commandline
(ImagePath).

Also it removes the quotes I added and I'm not so sure it would work the
way it's supposed to, without it.

If you add DependOnService (a REG_MULTI_SZ an array-like-thingie) and have
the name (in this case: pgsql-8.0-beta2-dev3) of a service it depends on,
it will not fail to start (it will not even try, as PostgreSQL is not
running), when PostgreSQL already failed.

Maybe it's an idea to specify it on the commandline (what service to
depend on).

hope this was helpfull,
Lennie.
_____________________________________
New things are always on the horizon.


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: leen(at)wirehub(dot)nl
Cc: PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS] pg_autovacuum in 8beta-dev3 small bug
Date: 2004-11-27 04:33:14
Message-ID: 200411270433.iAR4XEH00491@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers pgsql-hackers-win32


Can someone comment on this?

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

Leen Besselink wrote:
> Hi folks,
>
> 8.0beta3 has pg_autovacuum included, when I want to run this as a Windows
> service, it says you can use the -I and -R options.
>
> When I do that and I specify a password with '-P' (uppercase) then in the
> registry it's saved as '-p' (lowercase) in the service-commandline
> (ImagePath).
>
> Also it removes the quotes I added and I'm not so sure it would work the
> way it's supposed to, without it.
>
> If you add DependOnService (a REG_MULTI_SZ an array-like-thingie) and have
> the name (in this case: pgsql-8.0-beta2-dev3) of a service it depends on,
> it will not fail to start (it will not even try, as PostgreSQL is not
> running), when PostgreSQL already failed.
>
> Maybe it's an idea to specify it on the commandline (what service to
> depend on).
>
> hope this was helpfull,
> Lennie.
> _____________________________________
> New things are always on the horizon.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

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