Re: set relispartition when attaching child index

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: set relispartition when attaching child index
Дата
Msg-id 20190424153538.GA7605@alvherre.pgsql
обсуждение исходный текст
Ответ на set relispartition when attaching child index  (Amit Langote <amitlangote09@gmail.com>)
Ответы Re: set relispartition when attaching child index  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-hackers
On 2019-Apr-25, Amit Langote wrote:

> It seems that DefineIndex() is forgetting to update_relispartition()
> on a partition's index when it's attached to an index being added to
> the parent.  That results in unexpected behavior when adding a foreign
> key referencing the parent.

BTW, maybe IndexSetParentIndex ought to be the one calling
update_relispartition() ...

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: set relispartition when attaching child index
Следующее
От: Amit Langote
Дата:
Сообщение: Re: set relispartition when attaching child index