Add TupleTableSlotOps.is_current_xact_tuple() method
Alexander Korotkov <akorotkov@postgresql.org>
Add TupleTableSlotOps.is_current_xact_tuple() method This allows us to abstract how/whether table AM uses transaction identifiers. A custom table AM can use a custom slot, which may not store xmin directly, but determine the tuple belonging to the current transaction in the other way. Discussion: https://postgr.es/m/CAPpHfdurb9ycV8udYqM%3Do0sPS66PJ4RCBM1g-bBpvzUfogY0EA%40mail.gmail.com Reviewed-by: Matthias van de Meent, Mark Dilger, Pavel Borisov Reviewed-by: Nikita Malakhov, Japin Li
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execTuples.c | modified | +79 −0 |
| src/backend/utils/adt/ri_triggers.c | modified | +1 −7 |
| src/include/executor/tuptable.h | modified | +21 −0 |
Discussion
- Table AM Interface Enhancements 104 messages · 2023-11-23 → 2024-06-22