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-00046p-OI@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
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/75f14792408211f2ef6bf2dac31796a8a1ec3efb

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