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

Function lappend_oid

src/backend/nodes/list.c:371–384  ·  view source on GitHub ↗

* Append an OID to the specified list. See lappend() */

Source from the content-addressed store, hash-verified

369 * Append an OID to the specified list. See lappend()
370 */
371List *
372lappend_oid(List *list, Oid datum)
373{
374 Assert(IsOidList(list));
375
376 if (list == NIL)
377 list = new_list(T_OidList, 1);
378 else
379 new_tail_cell(list);
380
381 llast_oid(list) = datum;
382 check_list_invariants(list);
383 return list;
384}
385
386/*
387 * Make room for a new cell at position 'pos' (measured from 0).

Callers 15

ExtractExtensionListFunction · 0.85
paxProcessUtilityFunction · 0.85
fireRIRrulesFunction · 0.85
relation_is_updatableFunction · 0.85
rewriteSearchAndCycleFunction · 0.85
RelationGetIndexListFunction · 0.85
RelationGetStatExtListFunction · 0.85
get_mergejoin_opfamiliesFunction · 0.85
get_func_arg_typesFunction · 0.85
get_operator_opfamiliesFunction · 0.85

Calls 3

new_listFunction · 0.85
new_tail_cellFunction · 0.85
check_list_invariantsFunction · 0.85

Tested by

no test coverage detected