| 1255 | |
| 1256 | |
| 1257 | int64 |
| 1258 | extension_rumgetbitmap_core(IndexScanDesc scan, TIDBitmap *tbm, |
| 1259 | IndexAmRoutine *coreRoutine) |
| 1260 | { |
| 1261 | if (IsCompositeOpClass(scan->indexRelation)) |
| 1262 | { |
| 1263 | DocumentDBRumIndexState *outerScanState = |
| 1264 | (DocumentDBRumIndexState *) scan->opaque; |
| 1265 | return coreRoutine->amgetbitmap(outerScanState->innerScan, tbm); |
| 1266 | } |
| 1267 | else |
| 1268 | { |
| 1269 | return coreRoutine->amgetbitmap(scan, tbm); |
| 1270 | } |
| 1271 | } |
| 1272 | |
| 1273 | |
| 1274 | static bool |
no test coverage detected