pgsql: Detach constraints when partitions are detached

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Detach constraints when partitions are detached
Дата
Msg-id E1gmVI1-00071l-SO@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Detach constraints when partitions are detached  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Detach constraints when partitions are detached

I (Álvaro) forgot to do this in eb7ed3f30634, leading to undroppable
constraints after partitions are detached.  Repair.

Reported-by: Amit Langote
Author: Amit Langote
Discussion: https://postgr.es/m/c1c9b688-b886-84f7-4048-1e4ebe9b1d06@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ae366aa57762ad0e6a1a0885a7644e79541afe39

Modified Files
--------------
src/backend/commands/tablecmds.c       | 18 ++++++++++++++++++
src/test/regress/expected/indexing.out | 15 +++++++++++++++
src/test/regress/sql/indexing.sql      | 14 ++++++++++++++
3 files changed, 47 insertions(+)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Remove argument isprimary from index_build()
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Blind attempt to fix _configthreadlocale() failures on MinGW.