PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
parse_collate.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * parse_collate.h
4 * Routines for assigning collation information.
5 *
6 *
7 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
9 *
10 * src/include/parser/parse_collate.h
11 *
12 *-------------------------------------------------------------------------
13 */
14#ifndef PARSE_COLLATE_H
15#define PARSE_COLLATE_H
16
17#include "parser/parse_node.h"
18
19extern void assign_query_collations(ParseState *pstate, Query *query);
20
21extern void assign_list_collations(ParseState *pstate, List *exprs);
22
23extern void assign_expr_collations(ParseState *pstate, Node *expr);
24
25extern Oid select_common_collation(ParseState *pstate, List *exprs, bool none_ok);
26
27#endif /* PARSE_COLLATE_H */
void assign_list_collations(ParseState *pstate, List *exprs)
Oid select_common_collation(ParseState *pstate, List *exprs, bool none_ok)
void assign_query_collations(ParseState *pstate, Query *query)
void assign_expr_collations(ParseState *pstate, Node *expr)
unsigned int Oid
Definition: postgres_ext.h:32
Definition: pg_list.h:54
Definition: nodes.h:129