pgsql: Preserve pg_index.indisclustered across REINDEX CONCURRENTLY

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Preserve pg_index.indisclustered across REINDEX CONCURRENTLY
Дата
Msg-id E1j8w7n-0004Mm-7D@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix possibly-uninitialized variable.
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Report progress of streaming base backup.