diff options
Diffstat (limited to 'src/include/parser')
-rw-r--r-- | src/include/parser/parse_clause.h | 13 | ||||
-rw-r--r-- | src/include/parser/parse_func.h | 4 |
2 files changed, 11 insertions, 6 deletions
diff --git a/src/include/parser/parse_clause.h b/src/include/parser/parse_clause.h index 3b1aafa07d9..6b30301ea0b 100644 --- a/src/include/parser/parse_clause.h +++ b/src/include/parser/parse_clause.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_clause.h,v 1.12 1999/07/19 00:26:16 tgl Exp $ + * $Id: parse_clause.h,v 1.13 1999/08/21 03:49:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -20,8 +20,11 @@ extern void setTargetTable(ParseState *pstate, char *relname); extern Node *transformWhereClause(ParseState *pstate, Node *where, Node *using); extern List *transformGroupClause(ParseState *pstate, List *grouplist, - List *targetlist); -extern List *transformSortClause(ParseState *pstate, - List *orderlist, List *sortClause, - List *targetlist, char *uniqueFlag); + List *targetlist); +extern List *transformSortClause(ParseState *pstate, List *orderlist, + List *targetlist, char *uniqueFlag); + +extern List *addAllTargetsToSortList(List *sortlist, List *targetlist); +extern Index assignSortGroupRef(TargetEntry *tle, List *tlist); + #endif /* PARSE_CLAUSE_H */ diff --git a/src/include/parser/parse_func.h b/src/include/parser/parse_func.h index 38626290cb1..1fdb8f9890d 100644 --- a/src/include/parser/parse_func.h +++ b/src/include/parser/parse_func.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_func.h,v 1.18 1999/07/15 23:04:02 momjian Exp $ + * $Id: parse_func.h,v 1.19 1999/08/21 03:49:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -45,6 +45,8 @@ extern Node *ParseNestedFuncOrColumn(ParseState *pstate, Attr *attr, extern Node *ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs, int *curr_resno, int precedence); +extern List *setup_base_tlist(Oid typeid); + extern void func_error(char *caller, char *funcname, int nargs, Oid *argtypes, char *msg); |