From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Convert gist to compute page level xid horizon on primary.
Date: Mon, 22 Apr 2019 21:51:40 +0000
Message-ID: <E1hIgqi-0000Bn-Qw@gemulon.postgresql.org> (raw)
Convert gist to compute page level xid horizon on primary.
Due to parallel development, gist added the missing conflict
information in c952eae52a3, while 558a9165e08 moved that computation
to the primary for the index types that already had it. Thus adapt
gist to also compute on the primary, using
index_compute_xid_horizon_for_tuples() instead of its own copy of the
logic.
This also adds pg_waldump support for XLOG_GIST_DELETE records, which
previously was not properly present.
Bumps WAL version.
Author: Andres Freund
Discussion: https://postgr.es/m/20190406050243.bszosdg4buvabfrt@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b5f58cf213bdab7e726f7b09c1137b4ea397fc0b
Modified Files
--------------
src/backend/access/gist/gist.c | 8 +-
src/backend/access/gist/gistxlog.c | 153 +--------------------------------
src/backend/access/rmgrdesc/gistdesc.c | 7 +-
src/include/access/gist_private.h | 2 +-
src/include/access/gistxlog.h | 3 +-
src/include/access/xlog_internal.h | 2 +-
6 files changed, 18 insertions(+), 157 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: Convert gist to compute page level xid horizon on primary.
In-Reply-To: <E1hIgqi-0000Bn-Qw@gemulon.postgresql.org>
References: <E1hIgqi-0000Bn-Qw@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