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

Function TupleDescInitEntryCollation

src/backend/access/common/tupdesc.c:761–774  ·  view source on GitHub ↗

* TupleDescInitEntryCollation * * Assign a nondefault collation to a previously initialized tuple descriptor * entry. */

Source from the content-addressed store, hash-verified

759 * entry.
760 */
761void
762TupleDescInitEntryCollation(TupleDesc desc,
763 AttrNumber attributeNumber,
764 Oid collationid)
765{
766 /*
767 * sanity checks
768 */
769 AssertArg(PointerIsValid(desc));
770 AssertArg(attributeNumber >= 1);
771 AssertArg(attributeNumber <= desc->natts);
772
773 TupleDescAttr(desc, attributeNumber - 1)->attcollation = collationid;
774}
775
776
777/*

Callers 12

build_row_from_varsFunction · 0.85
get_expr_result_typeFunction · 0.85
expandRecordVariableFunction · 0.85
initGinStateFunction · 0.85
BuildDescForRelationFunction · 0.85
BuildDescFromListsFunction · 0.85
ExecTypeFromTLInternalFunction · 0.85
ExecTypeFromExprListFunction · 0.85
ExecInitTableFunctionFunction · 0.85
ExecInitFunctionScanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected