On 2022-Nov-29, Amit Langote wrote: > Maybe, we should have the following there so that the PlannedStmt's > contents don't point into the Query? > > newperminfo = copyObject(perminfo);
Hmm, I suppose if we want a separate RTEPermissionInfo node, we should instead do GetRTEPermissionInfo(rte) followed by AddRTEPermissionInfo(newrte) and avoid the somewhat cowboy-ish coding there. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/