aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/parse_clause.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-01-25 09:33:41 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-01-25 09:35:00 -0500
commitaebeb4790c750dc808c1c5afb3cb435116244e36 (patch)
tree532565a943fe186d599d075570c523331bf3c0fc /src/include/parser/parse_clause.h
parent87ecf2d14fa236e894267ef5e702ff08b8965f9d (diff)
downloadpostgresql-aebeb4790c750dc808c1c5afb3cb435116244e36.tar.gz
postgresql-aebeb4790c750dc808c1c5afb3cb435116244e36.zip
Remove vestigial resolveUnknown arguments from transformSortClause etc.
There's really no situation where we don't want these unknown-to-text conversions to happen. The alternative is failure anyway, and the one caller that was passing "false" did so only because it expected the case could not arise. Might as well simplify the code. Discussion: https://postgr.es/m/CAH2L28uwwbL9HUM-WR=hromW1Cvamkn7O-g8fPY2m=_7muJ0oA@mail.gmail.com
Diffstat (limited to 'src/include/parser/parse_clause.h')
-rw-r--r--src/include/parser/parse_clause.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/parser/parse_clause.h b/src/include/parser/parse_clause.h
index 3cdb261343c..823138f6c0e 100644
--- a/src/include/parser/parse_clause.h
+++ b/src/include/parser/parse_clause.h
@@ -31,7 +31,7 @@ extern List *transformGroupClause(ParseState *pstate, List *grouplist,
ParseExprKind exprKind, bool useSQL99);
extern List *transformSortClause(ParseState *pstate, List *orderlist,
List **targetlist, ParseExprKind exprKind,
- bool resolveUnknown, bool useSQL99);
+ bool useSQL99);
extern List *transformWindowDefinitions(ParseState *pstate,
List *windowdefs,
@@ -47,8 +47,7 @@ extern void transformOnConflictArbiter(ParseState *pstate,
Oid *constraint);
extern List *addTargetToSortList(ParseState *pstate, TargetEntry *tle,
- List *sortlist, List *targetlist, SortBy *sortby,
- bool resolveUnknown);
+ List *sortlist, List *targetlist, SortBy *sortby);
extern Index assignSortGroupRef(TargetEntry *tle, List *tlist);
extern bool targetIsInSortList(TargetEntry *tle, Oid sortop, List *sortList);