* _bitmap_buildinsert() -- insert an index tuple during index creation. */
| 2523 | * _bitmap_buildinsert() -- insert an index tuple during index creation. |
| 2524 | */ |
| 2525 | void |
| 2526 | _bitmap_buildinsert(Relation rel, ItemPointerData ht_ctid, Datum *attdata, |
| 2527 | bool *nulls, BMBuildState *state) |
| 2528 | { |
| 2529 | TupleDesc tupDesc; |
| 2530 | uint64 tidOffset; |
| 2531 | |
| 2532 | tidOffset = BM_IPTR_TO_INT(&ht_ctid); |
| 2533 | |
| 2534 | tupDesc = RelationGetDescr(rel); |
| 2535 | |
| 2536 | /* insert a new bit into the corresponding bitmap */ |
| 2537 | build_inserttuple(rel, tidOffset, ht_ctid, |
| 2538 | tupDesc, attdata, nulls, state); |
| 2539 | } |
| 2540 | |
| 2541 | /* |
| 2542 | * _bitmap_doinsert() -- insert an index tuple for a given tuple. |
no test coverage detected