pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
Date
Msg-id E1jh1EL-00046o-Nn@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add missing #include.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: OpenSSL 3.0.0 compatibility in tests