mirror of
https://github.com/postgres/postgres.git
synced 2025-10-15 05:46:52 +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:
@@ -578,7 +578,6 @@ static bool
|
||||
intorel_receive(TupleTableSlot *slot, DestReceiver *self)
|
||||
{
|
||||
DR_intorel *myState = (DR_intorel *) self;
|
||||
bool insertIndexes;
|
||||
|
||||
/* Nothing to insert if WITH NO DATA is specified. */
|
||||
if (!myState->into->skipData)
|
||||
@@ -595,8 +594,7 @@ intorel_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