Re: Setting restrictedtoken in pg_regress - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Setting restrictedtoken in pg_regress
Date
Msg-id 20230612231222.GA180938@nathanxps13
Whole thread Raw
In response to Setting restrictedtoken in pg_regress  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Setting restrictedtoken in pg_regress  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Tue, Aug 30, 2022 at 03:02:54PM +0200, Daniel Gustafsson wrote:
> 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.

Looks reasonable to me.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Atomic ops for unlogged LSN
Next
From: Michael Paquier
Date:
Subject: Re: Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?