pgsql: Fix crash when ALTER TABLE recreates indexes on partitions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fix crash when ALTER TABLE recreates indexes on partitions
Дата
Msg-id E1fYvfW-0004vb-Mt@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Fix crash when ALTER TABLE recreates indexes on partitions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Fix crash when ALTER TABLE recreates indexes on partitions

The skip_build flag was not being passed correctly when recursing to
indexes on partitions, leading to attempts to rebuild indexes when they
were not yet ready to be rebuilt.

Reported-by: Rajkumar Raghuwanshi
Discussion: https://postgr.es/m/CAKcux6mxNCGsgATwf5CGMF8g4WSupCXicCVMeKUTuWbyxHOMsQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/41372071dfaab97a1a8dca83e32b88413460f477

Modified Files
--------------
src/backend/commands/indexcmds.c       | 2 +-
src/test/regress/expected/indexing.out | 8 ++++++++
src/test/regress/sql/indexing.sql      | 9 +++++++++
3 files changed, 18 insertions(+), 1 deletion(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Replace search.cpan.org with metacpan.org
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: psql: show cloned triggers in partitions