pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
От:
Michael Paquier <michael@paquier.xyz>
Дата:
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(+)