Setting restrictedtoken in pg_regress

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Setting restrictedtoken in pg_regress
Date: 2022-08-30 13:02:54
Message-ID: 62A63C81-3893-4E3F-A34E-2081DF67074E@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In pg_regress we set restrictedToken when calling CreateRestrictedProcess, but
we never seem to use that anywhere. Not being well versed in Windows I might
be missing something, but is it needed or is it a copy/pasteo from fa1e5afa8a2
which does that in restricted_token.c? If not needed, removing it makes the
code more readable IMO.

--
Daniel Gustafsson https://vmware.com/

Attachment Content-Type Size
pg_regress_restrictedtoken.diff application/octet-stream 720 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2022-08-30 13:03:28 Re: ICU for global collation
Previous Message Aleksander Alekseev 2022-08-30 13:01:02 Re: Removing dead code in pgcrypto