diff options
author | Andres Freund <andres@anarazel.de> | 2019-03-25 17:14:48 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2019-03-25 17:14:48 -0700 |
commit | 2e3da03e9ee4d6ee5cf0d1ffe0227fe6275397e1 (patch) | |
tree | 1433066c118d8f7f3cba088784b45d5ae16cca75 /src/backend/access/heap/heapam_handler.c | |
parent | 71bdc99d0d7c3b2d73fa04fb2ff80870ce1305f7 (diff) | |
download | postgresql-2e3da03e9ee4d6ee5cf0d1ffe0227fe6275397e1.tar.gz postgresql-2e3da03e9ee4d6ee5cf0d1ffe0227fe6275397e1.zip |
tableam: Add table_get_latest_tid, to wrap heap_get_latest_tid.
This primarily is to allow WHERE CURRENT OF to continue to work as it
currently does. It's not clear to me that these semantics make sense
for every AM, but it works for the in-core heap, and the out of core
zheap. We can refine it further at a later point if necessary.
Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
Diffstat (limited to 'src/backend/access/heap/heapam_handler.c')
-rw-r--r-- | src/backend/access/heap/heapam_handler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/access/heap/heapam_handler.c b/src/backend/access/heap/heapam_handler.c index 00ca71a3d2a..56223921e72 100644 --- a/src/backend/access/heap/heapam_handler.c +++ b/src/backend/access/heap/heapam_handler.c @@ -542,6 +542,7 @@ static const TableAmRoutine heapam_methods = { .tuple_lock = heapam_tuple_lock, .tuple_fetch_row_version = heapam_fetch_row_version, + .tuple_get_latest_tid = heap_get_latest_tid, .tuple_satisfies_snapshot = heapam_tuple_satisfies_snapshot, }; |