1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +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:
Tom Lane
2021-02-11 11:23:25 -05:00
parent 42d74e0c44
commit d4c746516b
5 changed files with 8 additions and 15 deletions

View File

@ -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;
}