Re: [PATCHES] Run-as-admin warning for win32 - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [PATCHES] Run-as-admin warning for win32
Date
Msg-id 200405040431.i444VFP19005@candle.pha.pa.us
Whole thread Raw
In response to Re: Run-as-admin warning for win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] Run-as-admin warning for win32
List pgsql-patches
Tom Lane wrote:
> "Magnus Hagander" <mha@sollentuna.net> writes:
> > Previously, postgresql has exited out on Unix when running as root -
> > this is a similar check, with the following differences:
>
> > * We do a ereport(WARNING) instead of exitting out.
>
> Why?  If we refuse to run as root on Unix, I do not see an argument for
> being more forgiving on Windows.

I am not sure it is as easy to run as non-admin on Win32 as it is to run
as non-root on Unix.  Is it?

--
  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 6: Have you searched our list archives?

               http://archives.postgresql.org

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Run-as-admin warning for win32
Next
From: Tom Lane
Date:
Subject: Re: smgr cleanup