aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-02-11 11:23:25 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-02-11 11:23:25 -0500
commitd4c746516b8b4eb0bf993e3729ccc04d1febdb1e (patch)
tree55699d74c7a9cc45dfe722a0359f42fe369c3b8e /src/backend/parser/parse_expr.c
parent42d74e0c443760af91875af99d2655c9eb4c40df (diff)
downloadpostgresql-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.c2
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;
}