Re: Allowing REINDEX to have an optional name

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: Allowing REINDEX to have an optional name
Дата
Msg-id 20220628001807.GF19662@telsasoft.com
обсуждение исходный текст
Ответ на Re: Allowing REINDEX to have an optional name  (Simon Riggs <simon.riggs@enterprisedb.com>)
Список pgsql-hackers
Maybe the answer is to 1) add a parenthesized option REINDEX(SYSTEM) (to allow
the current behavior); and 2) make REINDEX DATABASE an alias which implies
"SYSTEM false"; 3) prohibit REINDEX (SYSTEM true) SYSTEM, or consider removing
"REINDEX SYSTEM;".

That avoids the opaque and surprising behavior that "REINDEX DATABASE" skips
system stuff but "REINDEX DATABASE foo" doesn't, while allowing the old
behavior (disabled by default).



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: pg_upgrade (12->14) fails on aggregate
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: [BUG] Panic due to incorrect missingContrecPtr after promotion