From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-hackers(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] Fix for running from admin account on win32 |
Date: | 2006-02-05 14:15:58 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE92EA3C@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
> > > You'll still need to run the postmaster frmo pg_ctl to
> get the "run
> > > as admin" part. The only part that could be moved is the
> Job Object
> > > for management. And you're normally not going to need
> that one when
> > > you're not running as a service. Maybe sometimes, but I
> doubt it's
> > > worth it. If we could solve the run-as-admin inside the
> postmaster
> > > it might be different, but AFAICS we can't.
> >
> > Yeah, I thought we'd agreed that the patch was fine as-is.
>
> Fine. I just wanted to make sure the decions was being made
> in terms of logic, rather than Win32 cruft avoidance. The
> previous discussion was not clear on this point.
I just came across another problem with this patch. It's not complete :(
You can *run* postgresql fine with it, but you can't run initdb. Oops.
I'll look at completing it with an update to initdb. There's nothing
*wrong* with the patch that's in the queue now (that I know of, of
course), so this is just an extension to it.
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Doug McNaught | 2006-02-05 14:16:51 | Re: Shared memory and memory context question |
Previous Message | Martijn van Oosterhout | 2006-02-05 14:11:25 | Re: Shared memory and memory context question |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2006-02-05 14:44:09 | drop if exists remainder |
Previous Message | Bruce Momjian | 2006-02-05 02:48:13 | Re: [PATCHES] Summary table trigger example race condition |