diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-05-16 12:46:32 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-05-16 12:46:32 -0400 |
commit | 59f40566cab95181ec132b3f0208f34e4c67f2b0 (patch) | |
tree | 322161ace2c1b3ae6bdde4e22cad90ad2c02eed0 /src/include/executor/executor.h | |
parent | 8e709a612f4c10cdc4b19a734cd67ac019d0a2ec (diff) |
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
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |