minor fix for CloneRowTriggersToPartition

Поиск
Список
Период
Сортировка
Искать

minor fix for CloneRowTriggersToPartition

От:
Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Дата:
Вложения:
Hi.

I think we should apply the attached patch so that a CreateTriggerStmt
that CloneRowTriggersToPartition creates for a partition doesn't contain
pointers that point to the information in the parent table's relcache,
which may go stale before the pointers in question are used.

Thanks,
Amit

Re: minor fix for CloneRowTriggersToPartition

От:
Alvaro Herrera <alvherre@alvh.no-ip.org>
Дата:
Amit Langote wrote:
> Hi.
> 
> I think we should apply the attached patch so that a CreateTriggerStmt
> that CloneRowTriggersToPartition creates for a partition doesn't contain
> pointers that point to the information in the parent table's relcache,
> which may go stale before the pointers in question are used.

Thanks for catching that!  Pushed.

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

FAQ