Re: Fix for running from admin account on win32 - Mailing list pgsql-patches

From Tom Lane
Subject Re: Fix for running from admin account on win32
Date
Msg-id 2243.1139609210@sss.pgh.pa.us
Whole thread Raw
In response to Fix for running from admin account on win32  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
"Magnus Hagander" <mha@sollentuna.net> writes:
> Attached is a two part patch for the admin functionality on win32.

> The first part is a simple bugfix to backend/port/win32/security.c. The
> function that checks if the user has admin privileges didn't check it
> the SID in the token was enabled or not.

Applied back to 8.0.

> The second part enables pg_ctl to give up admin privleges when starting
> the server.

Applied to HEAD only.

            regards, tom lane

pgsql-patches by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: [COMMITTERS] pgsql: Allow psql multi-line column values to align
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Fix for running from admin account on win32