diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-03-21 23:00:43 +0200 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-03-21 23:00:43 +0200 |
commit | 0997e0af273d80add75bcf5616eee000d0a78397 (patch) | |
tree | 199c96b60baaead3d37a9918ee63f256f2f21410 /src/backend/parser/parse_expr.c | |
parent | c35a3fb5e067fc95f13206418e3785d2cb059da1 (diff) | |
download | postgresql-0997e0af273d80add75bcf5616eee000d0a78397.tar.gz postgresql-0997e0af273d80add75bcf5616eee000d0a78397.zip |
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
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions