From d4c746516b8b4eb0bf993e3729ccc04d1febdb1e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 11 Feb 2021 11:23:25 -0500 Subject: 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. --- src/include/parser/parse_relation.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include/parser/parse_relation.h') diff --git a/src/include/parser/parse_relation.h b/src/include/parser/parse_relation.h index 35e64070a89..5dbe5ba2e27 100644 --- a/src/include/parser/parse_relation.h +++ b/src/include/parser/parse_relation.h @@ -41,8 +41,7 @@ extern Node *scanNSItemForColumn(ParseState *pstate, ParseNamespaceItem *nsitem, int location); extern Node *colNameToVar(ParseState *pstate, const char *colname, bool localonly, int location); -extern void markVarForSelectPriv(ParseState *pstate, Var *var, - RangeTblEntry *rte); +extern void markVarForSelectPriv(ParseState *pstate, Var *var); extern Relation parserOpenTable(ParseState *pstate, const RangeVar *relation, int lockmode); extern ParseNamespaceItem *addRangeTableEntry(ParseState *pstate, -- cgit v1.2.3