Re: pg_restore error with partitioned table having exclude constraint

Поиск
Список
Период
Сортировка
Искать
От
Japin Li
Тема
Re: pg_restore error with partitioned table having exclude constraint
Дата
Msg-id
ME0P300MB04459912DFAA3BEC7215C0BEB6852@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Ответ на
Список
Дерево обсуждения
pg_restore error with partitioned table having exclude constraint Keith Paskett <keith.paskett@logansw.com>
Re: pg_restore error with partitioned table having exclude constraint Álvaro Herrera <alvherre@kurilemu.de>
Re: pg_restore error with partitioned table having exclude constraint Japin Li <japinli@hotmail.com>
Re: pg_restore error with partitioned table having exclude constraint Álvaro Herrera <alvherre@kurilemu.de>
Re: pg_restore error with partitioned table having exclude constraint Keith Paskett <keith.paskett@logansw.com>
Re: pg_restore error with partitioned table having exclude constraint Japin Li <japinli@hotmail.com>
Re: pg_restore error with partitioned table having exclude constraint Álvaro Herrera <alvherre@kurilemu.de>
Re: pg_restore error with partitioned table having exclude constraint Japin Li <japinli@hotmail.com>
Re: pg_restore error with partitioned table having exclude constraint Álvaro Herrera <alvherre@kurilemu.de>
Re: pg_restore error with partitioned table having exclude constraint Japin Li <japinli@hotmail.com>
Re: pg_restore error with partitioned table having exclude constraint Álvaro Herrera <alvherre@kurilemu.de>
Re: pg_restore error with partitioned table having exclude constraint Japin Li <japinli@hotmail.com>
On Thu, 17 Apr 2025 at 17:18, Álvaro Herrera  wrote:
> On 2025-Apr-17, Japin Li wrote:
>
>> It seems PG 16 does not support exclusion constraints on partitioned tables.
>
> Yeah, my recollection is that they were purposefully disallowed (mainly
> because I didn't want to research how to fully make them work when
> adding local partitioned indexes), and that we needed to do more work if
> we wanted to let them through.  I suspect commit 8c852ba9a4 was mistaken
> to allow that case without looking for further implications.
>

Sorry, I’m unclear on “more work.” Can you explain further?

-- 
Regrads,
Japin Li


В списке pgsql-bugs по дате отправления
От: Tender Wang
Дата:
От: Michael Paquier
Дата:
FAQ