pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Preserve pg_index.indisclustered across REINDEX CONCURRENTLY 2+ messages / 1 participants [nested] [flat]
* pgsql: Preserve pg_index.indisclustered across REINDEX CONCURRENTLY @ 2020-03-03 01:13 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2020-03-03 01:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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/20200229024202.GH29456@telsasoft.com Backpatch-through: 12 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d79fb88ac738e0854e84a6c9445babfa5b2504b0 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Preserve pg_index.indisclustered across REINDEX CONCURRENTLY @ 2020-03-03 01:13 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2020-03-03 01:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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/20200229024202.GH29456@telsasoft.com 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-03-03 01:13 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-03-03 01:13 pgsql: Preserve pg_index.indisclustered across REINDEX CONCURRENTLY Michael Paquier <michael@paquier.xyz> 2020-03-03 01:13 pgsql: Preserve pg_index.indisclustered across REINDEX CONCURRENTLY Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox