From: "Heikki Linnakangas" <hlinnakan...@vmware.com>
Hmm, why do this only on Windows? If "postgres -C" is safe enough to run as Administrator on Windows, why not allow running it as root on Unix as well? Even if there's no particular need to allow it as root on Unix, fewer #ifdefs is good.

Yes, I limited the change only to Windows, because I thought I might get get objection against unnecessary change. Plus, --single should not be allowed for root, because root cannot be the PostgreSQL user account.

Regards
MauMau



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to