minor fix for CloneRowTriggersToPartition

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: minor fix for CloneRowTriggersToPartition
Date: 2018-04-23 09:41:28
Message-ID: a2773420-50d1-0a42-3396-fe42b0921134@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
pstrdup-string-from-relcache.patch text/plain 527 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Liudmila Mantrova 2018-04-23 09:54:40 Re: documentation is now XML
Previous Message Konstantin Knizhnik 2018-04-23 09:40:33 Re: [HACKERS] Custom compression methods