From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix relcache leak when row triggers on partitions are fired by C
Date: Tue, 16 May 2017 17:30:48 +0000
Message-ID: <E1dAgJ6-00066m-4E@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Fix relcache leak when row triggers on partitions are fired by C
In-Reply-To: <E1dAgJ6-00066m-4E@gemulon.postgresql.org>
References: <E1dAgJ6-00066m-4E@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox