* Insert multiple tuples into a table. * * This is like table_tuple_insert(), but inserts multiple tuples in one * operation. That's often faster than calling table_tuple_insert() in a loop, * because e.g. the AM can reduce WAL logging and page locking overhead. * * Except for taking `nslots` tuples as input, and an array of TupleTableSlots * in `slots`, the parameters for table_multi_inser
| 1655 | * temporary context before calling this, if that's a problem. |
| 1656 | */ |
| 1657 | static inline void |
| 1658 | table_multi_insert(Relation rel, TupleTableSlot **slots, int nslots, |
| 1659 | CommandId cid, int options, struct BulkInsertStateData *bistate) |
| 1660 | { |
| 1661 | rel->rd_tableam->multi_insert(rel, slots, nslots, |
| 1662 | cid, options, bistate); |
| 1663 | } |
| 1664 | |
| 1665 | /* |
| 1666 | * Delete a tuple. |
no outgoing calls
no test coverage detected