From: Craig Ringer [mailto:cr...@2ndquadrant.com]
> You meant CheckTokenMembership().

Yes, my typo in the mail.

> The proposed patch does need to be checked with:

I understood you meant by "refuse to run" that postgres.exe fails to start 
below.  Yes, I checked it on Win10.  I don't have access to WinXP/2003 - 
Microsoft ended their support.

        if (pgwin32_is_admin())
        {
                write_stderr("Execution of PostgreSQL by a user with 
administrative permissions is not\n"
                                         "permitted.\n"
                                         "The server must be started under an 
unprivileged user ID to prevent\n"
                 "possible system security compromises.  See the documentation 
for\n"
                                  "more information on how to properly start 
the server.\n");
                exit(1);
        }

Regards
Takayuki Tsunakawa






-- 
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