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=clypx48...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/59f40566cab95181ec132b3f0208f34e4c67f2b0 Modified Files -------------- src/backend/commands/copy.c | 3 +++ src/backend/commands/trigger.c | 11 +--------- src/backend/executor/execMain.c | 39 ++++++++++++++++++---------------- src/include/executor/executor.h | 1 + src/test/regress/expected/triggers.out | 10 +++++++++ src/test/regress/sql/triggers.sql | 12 +++++++++++ 6 files changed, 48 insertions(+), 28 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers