diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2020-03-13 11:28:11 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2020-03-13 13:21:05 +0100 |
commit | 2f0dd9d93efe0d2e41585f804a38b2db5b7f429d (patch) | |
tree | 4da87bdee644c4354ca94476205a4b70273e4730 /src/backend/commands/dbcommands.c | |
parent | 4e8cad2da36adff877c81d8c336d7c28ed19ebae (diff) |
Preserve replica identity index across ALTER TABLE rewrite
If an index was explicitly set as replica identity index, this setting
was lost when a table was rewritten by ALTER TABLE. Because this
setting is part of pg_index but actually controlled by ALTER
TABLE (not part of CREATE INDEX, say), we have to do some extra work
to restore it.
Based-on-patch-by: Quan Zongliang <quanzongliang@gmail.com>
Reviewed-by: Euler Taveira <euler.taveira@2ndquadrant.com>
Discussion: https://www.postgresql.org/message-id/flat/c70fcab2-4866-0d9f-1d01-e75e189db342@gmail.com
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions