Header And Logo

PostgreSQL
| The world's most advanced open source database.

parse_collate.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * parse_collate.h
00004  *  Routines for assigning collation information.
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/parser/parse_collate.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef PARSE_COLLATE_H
00015 #define PARSE_COLLATE_H
00016 
00017 #include "parser/parse_node.h"
00018 
00019 extern void assign_query_collations(ParseState *pstate, Query *query);
00020 
00021 extern void assign_list_collations(ParseState *pstate, List *exprs);
00022 
00023 extern void assign_expr_collations(ParseState *pstate, Node *expr);
00024 
00025 extern Oid  select_common_collation(ParseState *pstate, List *exprs, bool none_ok);
00026 
00027 #endif   /* PARSE_COLLATE_H */