aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-11-01 11:38:23 +0900
committerMichael Paquier <michael@paquier.xyz>2021-11-01 11:38:23 +0900
commitadd5cf28d48149459466b9aff374d78aebf17482 (patch)
tree7e77ac764c36e5d2e679934fdb794c61bc2ca92a /src/backend/access/transam/xlog.c
parenta667b066837849c5e55e0d626f1f7c93e267b8b7 (diff)
downloadpostgresql-add5cf28d48149459466b9aff374d78aebf17482.tar.gz
postgresql-add5cf28d48149459466b9aff374d78aebf17482.zip
Preserve opclass parameters across REINDEX CONCURRENTLY
The opclass parameter Datums from the old index are fetched in the same way as for predicates and expressions, by grabbing them directly from the system catalogs. They are then copied into the new IndexInfo that will be used for the creation of the new copy. This caused the new index to be rebuilt with default parameters rather than the ones pre-defined by a user. The only way to get back a new index with correct opclass parameters would be to recreate a new index from scratch. The issue has been introduced by 911e702. Author: Michael Paquier Reviewed-by: Zhihong Yu Discussion: https://postgr.es/m/YX0CG/QpLXcPr8HJ@paquier.xyz Backpatch-through: 13
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions