[COMMITTERS] pgsql: Fix relcache leak when row triggers on partitions are fired byC - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Fix relcache leak when row triggers on partitions are fired byC
Date
Msg-id E1dAgJ6-00066m-4E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: doc: Remove unnecessary RETURN statements from example.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Try to ensure that stats collector's receive buffer size is atl