From 73b8c3bd2889fed986044e15aefd0911f96ccdd3 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Thu, 23 May 2019 16:25:48 -0700 Subject: tableam: Rename wrapper functions to match callback names. Some of the wrapper functions didn't match the callback names. Many of them due to staying "consistent" with historic naming of the wrapped functionality. We decided that for most cases it's more important to be for tableam to be consistent going forward, than with the past. The one exception is beginscan/endscan/... because it'd have looked odd to have systable_beginscan/endscan/... with a different naming scheme, and changing the systable_* APIs would have caused way too much churn (including breaking a lot of external users). Author: Ashwin Agrawal, with some small additions by Andres Freund Reviewed-By: Andres Freund Discussion: https://postgr.es/m/CALfoeiugyrXZfX7n0ORCa4L-m834dzmaE8eFdbNR6PMpetU4Ww@mail.gmail.com --- src/backend/utils/adt/tid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/utils') diff --git a/src/backend/utils/adt/tid.c b/src/backend/utils/adt/tid.c index 1aab30b6aab..039ddc86a85 100644 --- a/src/backend/utils/adt/tid.c +++ b/src/backend/utils/adt/tid.c @@ -382,7 +382,7 @@ currtid_byreloid(PG_FUNCTION_ARGS) snapshot = RegisterSnapshot(GetLatestSnapshot()); scan = table_beginscan(rel, snapshot, 0, NULL); - table_get_latest_tid(scan, result); + table_tuple_get_latest_tid(scan, result); table_endscan(scan); UnregisterSnapshot(snapshot); @@ -420,7 +420,7 @@ currtid_byrelname(PG_FUNCTION_ARGS) snapshot = RegisterSnapshot(GetLatestSnapshot()); scan = table_beginscan(rel, snapshot, 0, NULL); - table_get_latest_tid(scan, result); + table_tuple_get_latest_tid(scan, result); table_endscan(scan); UnregisterSnapshot(snapshot); -- cgit v1.2.3