Unix Technical Forum

Re: [HACKERS] Fix for running from admin account on win32

This is a discussion on Re: [HACKERS] Fix for running from admin account on win32 within the Pgsql Patches forums, part of the PostgreSQL category; --> > > If the job object code is moved to the postmaster, it'll > work when not > > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 01:15 AM
Magnus Hagander
 
Posts: n/a
Default Re: [HACKERS] Fix for running from admin account on win32

> > If the job object code is moved to the postmaster, it'll
> work when not
> > running as a service as well.

>
> I'd just as soon keep all that Windows-specific cruft in pg_ctl.
> So I think the way you've got it set up is fine.


Well, it'd all be localised to the backend/port/win32 directory of
course, except for a single call - where there is already "windows
cruft".

But. I see your point. And the vast majority of production
installations run as service anyway. So I won't spend any time making
those changes, I'll leave what's on -patches now.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 01:18 AM
Bruce Momjian
 
Posts: n/a
Default Re: [HACKERS] Fix for running from admin account on win32


Where are we on this patch?

I am thinking it should be in the most logical place, rather than in
pg_ctl. One call isn't a big deal, especially if you can run the
postmaster without using pg_ctl.

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

Magnus Hagander wrote:
> > > If the job object code is moved to the postmaster, it'll

> > work when not
> > > running as a service as well.

> >
> > I'd just as soon keep all that Windows-specific cruft in pg_ctl.
> > So I think the way you've got it set up is fine.

>
> Well, it'd all be localised to the backend/port/win32 directory of
> course, except for a single call - where there is already "windows
> cruft".
>
> But. I see your point. And the vast majority of production
> installations run as service anyway. So I won't spend any time making
> those changes, I'll leave what's on -patches now.
>
> //Magnus
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>


--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (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: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:04 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com