]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
authorMichael Paquier <michael@paquier.xyz>
Fri, 5 Jun 2020 01:29:27 +0000 (10:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 5 Jun 2020 01:29:27 +0000 (10:29 +0900)
commit75f14792408211f2ef6bf2dac31796a8a1ec3efb
tree862f270fc1da35bfd85e55c76657d5ad51088b1e
parenta958b07bc4533d8c80b0f10cc4a3b209002b387f
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
src/backend/catalog/index.c
src/test/regress/expected/create_index.out
src/test/regress/sql/create_index.sql