mirror of
https://github.com/postgres/postgres.git
synced 2025-11-03 09:13:20 +03:00
Remove no-longer-used RTE argument of markVarForSelectPriv().
In the wake of c028faf2a, this is no longer needed. I left it
out of that patch since the API change would be undesirable in
a released branch; but there's no reason not to do it in HEAD.
This commit is contained in:
@@ -2525,7 +2525,7 @@ transformWholeRowRef(ParseState *pstate, ParseNamespaceItem *nsitem,
|
||||
result->location = location;
|
||||
|
||||
/* mark relation as requiring whole-row SELECT access */
|
||||
markVarForSelectPriv(pstate, result, nsitem->p_rte);
|
||||
markVarForSelectPriv(pstate, result);
|
||||
|
||||
return (Node *) result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user