diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-04-11 15:53:26 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-04-11 16:02:45 +0300 |
commit | 8dd0bb84da7d56a9e41241b26bfbf6b79644d574 (patch) | |
tree | d429168e3a5bddfc1c18c170b2965f436500eb37 /src/backend/commands/tablecmds.c | |
parent | 193e6d18e553a104d315ff81892d509d89a30fd8 (diff) | |
download | postgresql-8dd0bb84da7d56a9e41241b26bfbf6b79644d574.tar.gz postgresql-8dd0bb84da7d56a9e41241b26bfbf6b79644d574.zip |
Revert: Allow table AM tuple_insert() method to return the different slot
This commit reverts c35a3fb5e0 per review by Andres Freund.
Discussion: https://postgr.es/m/20240410165236.rwyrny7ihi4ddxw4%40awork3.anarazel.de
Diffstat (limited to 'src/backend/commands/tablecmds.c')
-rw-r--r-- | src/backend/commands/tablecmds.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 571feea270e..000212f24c4 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -21086,8 +21086,8 @@ moveSplitTableRows(Relation rel, Relation splitRel, List *partlist, List *newPar } /* Write the tuple out to the new relation. */ - (void) table_tuple_insert(pc->partRel, insertslot, mycid, - ti_options, pc->bistate); + table_tuple_insert(pc->partRel, insertslot, mycid, + ti_options, pc->bistate); ResetExprContext(econtext); @@ -21381,8 +21381,8 @@ moveMergedTablesRows(Relation rel, List *mergingPartitionsList, } /* Write the tuple out to the new relation. */ - (void) table_tuple_insert(newPartRel, insertslot, mycid, - ti_options, bistate); + table_tuple_insert(newPartRel, insertslot, mycid, + ti_options, bistate); CHECK_FOR_INTERRUPTS(); } |