Re: minor fix for CloneRowTriggersToPartition

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: minor fix for CloneRowTriggersToPartition
Дата
Msg-id 20180423151301.fd3exkfvy7qeu2va@alvherre.pgsql
обсуждение исходный текст
Ответ на minor fix for CloneRowTriggersToPartition  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-hackers
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


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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: bms_prev_member won't work correctly if bitmapword is 64-bits
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: minor fix for acquire_inherited_sample_rows