Setting restrictedtoken in pg_regress
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Andrew Dunstan <andrew@dunslane.net>
Date: 2022-08-30T13:02:54Z
Lists: pgsql-hackers
Attachments
- pg_regress_restrictedtoken.diff (application/octet-stream) patch
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/
Commits
-
pg_regress: Remove unused variable
- f863d82b2f98 17.0 landed