mirror of
https://github.com/postgres/postgres.git
synced 2025-10-28 11:55:03 +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:
@@ -476,7 +476,6 @@ static bool
|
||||
transientrel_receive(TupleTableSlot *slot, DestReceiver *self)
|
||||
{
|
||||
DR_transientrel *myState = (DR_transientrel *) self;
|
||||
bool insertIndexes;
|
||||
|
||||
/*
|
||||
* Note that the input slot might not be of the type of the target
|
||||
@@ -491,8 +490,7 @@ transientrel_receive(TupleTableSlot *slot, DestReceiver *self)
|
||||
slot,
|
||||
myState->output_cid,
|
||||
myState->ti_options,
|
||||
myState->bistate,
|
||||
&insertIndexes);
|
||||
myState->bistate);
|
||||
|
||||
/* We know this is a newly created relation, so there are no indexes */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user