aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-03-13 11:28:11 +0100
committerPeter Eisentraut <peter@eisentraut.org>2020-03-13 12:24:44 +0100
commit15cbbf81a58fd04479c0e5ff134838492473e935 (patch)
treee23e77d49e45a9c601901255a70fcdc5856d58d8 /src/backend/access/gist/gistbuild.c
parenta493f933422c97f40584efbd07c3e6884ed3ace3 (diff)
downloadpostgresql-15cbbf81a58fd04479c0e5ff134838492473e935.tar.gz
postgresql-15cbbf81a58fd04479c0e5ff134838492473e935.zip
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/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions