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

Function IsIndexAccessMethod

src/backend/access/index/amapi.c:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23is_index_access_method_hook_type is_index_access_method_hook = NULL;
24
25bool
26IsIndexAccessMethod(Oid relam, Oid indexAccessMethod)
27{
28 if ((is_index_access_method_hook && (*is_index_access_method_hook)(relam, indexAccessMethod)) ||
29 (!is_index_access_method_hook && relam == indexAccessMethod))
30 {
31 return true;
32 }
33 return false;
34}
35/*
36 * GetIndexAmRoutine - call the specified access method handler routine to get
37 * its IndexAmRoutine struct, which will be palloc'd in the caller's context.

Callers 15

tuplesort_begin_clusterFunction · 0.85
DefineIndexFunction · 0.85
copy_table_dataFunction · 0.85
assignProcTypesFunction · 0.85
refresh_by_match_mergeFunction · 0.85
is_usable_unique_indexFunction · 0.85
transformIndexConstraintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected