postgresql/src/include/parser/parse_collate.h
Bruce Momjian 7559d8ebfa Update copyrights for 2020
Backpatch-through: update all files in master, backpatch legal files through 9.4
2020-01-01 12:21:45 -05:00

27 lines
833 B
C

/*-------------------------------------------------------------------------
*
* parse_collate.h
* Routines for assigning collation information.
*
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/parser/parse_collate.h
*
*-------------------------------------------------------------------------
*/
#ifndef PARSE_COLLATE_H
#define PARSE_COLLATE_H
#include "parser/parse_node.h"
extern void assign_query_collations(ParseState *pstate, Query *query);
extern void assign_list_collations(ParseState *pstate, List *exprs);
extern void assign_expr_collations(ParseState *pstate, Node *expr);
extern Oid select_common_collation(ParseState *pstate, List *exprs, bool none_ok);
#endif /* PARSE_COLLATE_H */