| 23 | is_index_access_method_hook_type is_index_access_method_hook = NULL; |
| 24 | |
| 25 | bool |
| 26 | IsIndexAccessMethod(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. |
no outgoing calls
no test coverage detected