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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

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


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