mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Revert: Let table AM insertion methods control index insertion
This commit reverts b1484a3f19 per review by Andres Freund.
Discussion: https://postgr.es/m/20240410165236.rwyrny7ihi4ddxw4%40awork3.anarazel.de
This commit is contained in:
@@ -273,11 +273,9 @@ table_tuple_get_latest_tid(TableScanDesc scan, ItemPointer tid)
|
||||
* default command ID and not allowing access to the speedup options.
|
||||
*/
|
||||
void
|
||||
simple_table_tuple_insert(Relation rel, TupleTableSlot *slot,
|
||||
bool *insert_indexes)
|
||||
simple_table_tuple_insert(Relation rel, TupleTableSlot *slot)
|
||||
{
|
||||
table_tuple_insert(rel, slot, GetCurrentCommandId(true), 0, NULL,
|
||||
insert_indexes);
|
||||
table_tuple_insert(rel, slot, GetCurrentCommandId(true), 0, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user