Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT

Поиск
Список
Период
Сортировка
Искать
От
Amit Langote
Тема
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT
Дата
Msg-id
0bdd8d27-391c-173d-5c86-c9c009f5604e@lab.ntt.co.jp
Ответ на
Список
Дерево обсуждения
BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT PG Bug reporting form <noreply@postgresql.org>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Jesper Pedersen <jesper.pedersen@redhat.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT Jesper Pedersen <jesper.pedersen@redhat.com>
Hi,

On 2019/01/24 6:07, Alvaro Herrera wrote:
> Hello
> 
>> Are you be willing to try to fix that in HEAD if someone sends a patch? :)
> 
> Well, we can discuss it in a new thread I suppose.

Sure, a new thread on -hackers.

> Do we need
> non-inheritable constraints for that case?  I think not, but maybe I'm
> wrong.

Defining non-inheritable constraints on *partitioned* parent tables is
disallowed because they would never be checked and so pointless.  I'm not
sure if we'd want to include the regular inheritance case (ALTER TABLE
child INHERIT new_parent) in this new development, but if we do, we'll
have to arrange to skip cloning parent's non-inheritable constraints.

Thanks,
Amit


В списке pgsql-bugs по дате отправления
От: Patrick Headley
Дата:
FAQ