diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-02-11 11:23:25 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-02-11 11:23:25 -0500 |
commit | d4c746516b8b4eb0bf993e3729ccc04d1febdb1e (patch) | |
tree | 55699d74c7a9cc45dfe722a0359f42fe369c3b8e /src/backend/parser/parse_expr.c | |
parent | 42d74e0c443760af91875af99d2655c9eb4c40df (diff) | |
download | postgresql-d4c746516b8b4eb0bf993e3729ccc04d1febdb1e.tar.gz postgresql-d4c746516b8b4eb0bf993e3729ccc04d1febdb1e.zip |
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.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
-rw-r--r-- | src/backend/parser/parse_expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/parser/parse_expr.c b/src/backend/parser/parse_expr.c index 6c87783b2c7..f869e159d63 100644 --- a/src/backend/parser/parse_expr.c +++ b/src/backend/parser/parse_expr.c @@ -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; } |