From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: tableam: Add table_get_latest_tid, to wrap heap_get_latest_tid.
Date: Tue, 26 Mar 2019 00:34:26 +0000
Message-ID: <E1h8a2s-0003kl-Pe@gemulon.postgresql.org> (raw)
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2e3da03e9ee4d6ee5cf0d1ffe0227fe6275397e1
Modified Files
--------------
src/backend/access/heap/heapam_handler.c | 1 +
src/backend/executor/nodeTidscan.c | 15 +++------------
src/backend/utils/adt/tid.c | 5 +++--
src/include/access/tableam.h | 18 ++++++++++++++++++
4 files changed, 25 insertions(+), 14 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: tableam: Add table_get_latest_tid, to wrap heap_get_latest_tid.
In-Reply-To: <E1h8a2s-0003kl-Pe@gemulon.postgresql.org>
References: <E1h8a2s-0003kl-Pe@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox