Preserve pg_index.indisclustered across REINDEX CONCURRENTLY
If the flag value is lost, a CLUSTER query following REINDEX
CONCURRENTLY could fail. Non-concurrent REINDEX is already handling
this case consistently.
Author: Justin Pryzby
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 12
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/f087d63a45b5935b5c15cecb7d88f140d5cc8b7c
Modified Files
--------------
src/backend/catalog/index.c | 8 +++++++-
src/test/regress/expected/create_index.out | 13 +++++++++++++
src/test/regress/sql/create_index.sql | 9 +++++++++
3 files changed, 29 insertions(+), 1 deletion(-)