On Tuesday 15 November 2005 02:16 pm, Pollard, Mike wrote: > > I explain myself about running PostGre as admin. > > > > In fact I don't want specifically run PostGre as admin. The problem > > is, on > > > the computers the application including PostGre will run, I'm not sure > > that > > the user won't have any admin or power user rights. Furthermore, I've > > noticed that on certain domains, any user created is automatically > > added > > > to > > a default group having power user rights (that is actually happening > > to > > > me). > > To be honest, the fact that Postgres forces you to run as a non-admin > user has given me nothing but headaches. (yes, I know, the problem is > defaulting everyone to admin rights is the problem. But that's where I > am). I have been kicking around the idea of posting a change to allow > you to run as admin, but in the meanwhile if you can build Postgres on > your machine, the fix is very easy. Go into src/backend/main/main.c and > find the line > > if (pgwin32_is_admin()) > > and change it to > > if (false && pgwin32_is_admin())
Thanks, I'll see if I can build PG on Windows now. -- Andreas Joseph Krogh <[EMAIL PROTECTED]> Senior Software Developer / Manager gpg public_key: http://dev.officenet.no/~andreak/public_key.asc ------------------------+---------------------------------------------+ OfficeNet AS | The most difficult thing in the world is to | Hoffsveien 17 | know how to do a thing and to watch | PO. Box 425 Skøyen | somebody else doing it wrong, without | 0213 Oslo | comment. | NORWAY | | Phone : +47 22 13 01 00 | | Direct: +47 22 13 10 03 | | Mobile: +47 909 56 963 | | ------------------------+---------------------------------------------+ ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq