Re: minor fix for CloneRowTriggersToPartition

2018-04-23 Thread Alvaro Herrera
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 quest

minor fix for CloneRowTriggersToPartition

2018-04-23 Thread Amit Langote
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 diff