pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
Date: Fri, 05 Jun 2020 01:33:09 +0000
Message-ID: <E1jh1EL-00046o-Nn@gemulon.postgresql.org> (raw)

Preserve pg_index.indisreplident across REINDEX CONCURRENTLY

If the flag value is lost, logical decoding would work the same way as
REPLICA IDENTITY NOTHING, meaning that no old tuple values would be
included in the changes anymore produced by logical decoding.

Author: Michael Paquier
Reviewed-by: Euler Taveira
Discussion: https://postgr.es/m/20200603065340.GK89559@paquier.xyz
Backpatch-through: 12

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1127f0e392c757fc4fbbeffd7d0202bb02670e9c

Modified Files
--------------
src/backend/catalog/index.c                |  4 ++++
src/test/regress/expected/create_index.out | 21 +++++++++++++++++++++
src/test/regress/sql/create_index.sql      | 11 +++++++++++
3 files changed, 36 insertions(+)



view thread (2+ messages)

Message-ID: <E1jh1EL-00046o-Nn@gemulon.postgresql.org>
Permalink:  ../E1jh1EL-00046o-Nn@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jh1EL-00046o-Nn@gemulon.postgresql.org

 · 

reply

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: michael@paquier.xyz
  Subject: Re: pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
  In-Reply-To: <E1jh1EL-00046o-Nn@gemulon.postgresql.org>
  References: <E1jh1EL-00046o-Nn@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