postgresql/src/backend/access
Alexander Korotkov b1484a3f19 Let table AM insertion methods control index insertion
Previously, the executor did index insert unconditionally after calling
table AM interface methods tuple_insert() and multi_insert().  This commit
introduces the new parameter insert_indexes for these two methods.  Setting
'*insert_indexes' to true saves the current logic.  Setting it to false
indicates that table AM cares about index inserts itself and doesn't want the
caller to do that.

Discussion: https://postgr.es/m/CAPpHfdurb9ycV8udYqM%3Do0sPS66PJ4RCBM1g-bBpvzUfogY0EA%40mail.gmail.com
Reviewed-by: Pavel Borisov, Matthias van de Meent, Mark Dilger
2024-03-30 22:53:56 +02:00
..
brin Make the order of the header file includes consistent 2024-03-13 15:07:00 +01:00
common Custom reloptions for table AM 2024-03-30 22:36:25 +02:00
gin Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
gist Merge prune, freeze and vacuum WAL record formats 2024-03-25 14:59:58 +02:00
hash Merge prune, freeze and vacuum WAL record formats 2024-03-25 14:59:58 +02:00
heap Let table AM insertion methods control index insertion 2024-03-30 22:53:56 +02:00
index Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
nbtree Fix an oversight in refactoring in 06b10f80ba. 2024-03-22 15:25:53 +02:00
rmgrdesc Merge prune, freeze and vacuum WAL record formats 2024-03-25 14:59:58 +02:00
sequence Fix comment thinko in sequence.c 2024-02-27 08:19:39 +09:00
spgist Make the order of the header file includes consistent 2024-03-13 15:07:00 +01:00
table Let table AM insertion methods control index insertion 2024-03-30 22:53:56 +02:00
tablesample Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
transam Allow "internal" subtransactions in parallel mode. 2024-03-28 12:43:10 -04:00
Makefile Introduce sequence_*() access functions 2024-02-26 16:04:59 +09:00
meson.build Introduce sequence_*() access functions 2024-02-26 16:04:59 +09:00