"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.
> The reason for this
> is that we can expect there are win32 admins that will want to run the
> server with a high privilege account.
Translated: "we can expect a higher proportion of Windows admins who
will refuse to be force-fed a clue"? Not a lot of sympathy here.
> * The Unix check is directly in main.c. We cannot do this on win32,
> because at this stage we can only printf and exit. Win32 needs ereport.
We could move the Unix check later without any problem. I agree with
keeping both checks in the same place.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match