From 59f40566cab95181ec132b3f0208f34e4c67f2b0 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 16 May 2017 12:46:32 -0400 Subject: Fix relcache leak when row triggers on partitions are fired by COPY. Thomas Munro, reviewed by Amit Langote Discussion: http://postgr.es/m/CAEepm=15Jss-yhFApuKzxcoCuFnb8TR8iQiWMjG=CLYPx48QLw@mail.gmail.com --- src/include/executor/executor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/executor/executor.h') diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 3107cf5b89e..4f19579ee0b 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -184,6 +184,7 @@ extern void InitResultRelInfo(ResultRelInfo *resultRelInfo, Relation partition_root, int instrument_options); extern ResultRelInfo *ExecGetTriggerResultRel(EState *estate, Oid relid); +extern void ExecCleanUpTriggerState(EState *estate); extern bool ExecContextForcesOids(PlanState *planstate, bool *hasoids); extern void ExecConstraints(ResultRelInfo *resultRelInfo, TupleTableSlot *slot, EState *estate); -- cgit v1.2.3