MCPcopy Create free account
hub / github.com/apache/cloudberry / assign_list_collations

Function assign_list_collations

src/backend/parser/parse_collate.c:154–165  ·  view source on GitHub ↗

* assign_list_collations() * Mark all nodes in the list of expressions with collation information. * * The list member expressions are processed independently; they do not have * to share a common collation. */

Source from the content-addressed store, hash-verified

152 * to share a common collation.
153 */
154void
155assign_list_collations(ParseState *pstate, List *exprs)
156{
157 ListCell *lc;
158
159 foreach(lc, exprs)
160 {
161 Node *node = (Node *) lfirst(lc);
162
163 assign_expr_collations(pstate, node);
164 }
165}
166
167/*
168 * assign_expr_collations()

Callers 4

transformInsertStmtFunction · 0.85
assign_collations_walkerFunction · 0.85
transformRangeFunctionFunction · 0.85

Calls 2

assign_expr_collationsFunction · 0.85
foreachFunction · 0.50

Tested by

no test coverage detected