PostgreSQL Source Code
git master
|
#include "parser/parse_node.h"
Go to the source code of this file.
Functions | |
void | assign_query_collations (ParseState *pstate, Query *query) |
void | assign_list_collations (ParseState *pstate, List *exprs) |
void | assign_expr_collations (ParseState *pstate, Node *expr) |
Oid | select_common_collation (ParseState *pstate, List *exprs, bool none_ok) |
void assign_expr_collations | ( | ParseState * | pstate, |
Node * | expr | ||
) |
Definition at line 177 of file parse_collate.c.
References assign_collations_walker(), COLLATE_NONE, context, and InvalidOid.
Referenced by AlterPolicy(), assign_aggregate_collations(), assign_collations_walker(), assign_list_collations(), assign_ordered_set_collations(), assign_query_collations_walker(), ATPrepAlterColumnType(), buildMergedJoinVar(), coerce_fn_result_column(), cookConstraint(), cookDefault(), CreatePolicy(), CreateTriggerFiringOn(), DoCopy(), domainAddCheckConstraint(), EvaluateParams(), interpret_function_parameter_list(), test_rls_hooks_permissive(), test_rls_hooks_restrictive(), transformCallStmt(), transformCaseExpr(), transformIndexStmt(), transformJsonTableColumns(), transformPartitionBoundValue(), transformPartitionSpec(), TransformPubWhereClauses(), transformRangeTableFunc(), transformRangeTableSample(), transformRuleStmt(), and transformStatsStmt().
void assign_list_collations | ( | ParseState * | pstate, |
List * | exprs | ||
) |
Definition at line 155 of file parse_collate.c.
References assign_expr_collations(), and lfirst.
Referenced by assign_collations_walker(), assign_query_collations_walker(), and transformRangeFunction().
void assign_query_collations | ( | ParseState * | pstate, |
Query * | query | ||
) |
Definition at line 101 of file parse_collate.c.
References assign_query_collations_walker(), QTW_IGNORE_CTE_SUBQUERIES, QTW_IGNORE_RANGE_TABLE, and query_tree_walker.
Referenced by transformDeleteStmt(), transformMergeStmt(), transformPLAssignStmt(), transformReturnStmt(), transformSelectStmt(), transformSetOperationStmt(), transformUpdateStmt(), and transformValuesClause().
Oid select_common_collation | ( | ParseState * | pstate, |
List * | exprs, | ||
bool | none_ok | ||
) |
Definition at line 208 of file parse_collate.c.
References assign_collations_walker(), COLLATE_CONFLICT, COLLATE_NONE, context, ereport, errcode(), errhint(), errmsg(), ERROR, get_collation_name(), InvalidOid, and parser_errposition().
Referenced by analyzeCTE(), assign_collations_walker(), transformSetOperationTree(), and transformValuesClause().