pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix memory leak when inserting tuple at relation creation for CT
Date: Wed, 27 Feb 2019 05:21:40 +0000
Message-ID: <E1gyrf2-0005QI-8U@gemulon.postgresql.org> (raw)

Fix memory leak when inserting tuple at relation creation for CTAS

The leak has been introduced by 763f2ed which has addressed the problem
for transient tables, and forgot CREATE TABLE AS which shares a similar
logic when receiving a new tuple to store into the newly-created
relation.

Author: Jeff Janes
Discussion: https://postgr.es/m/CAMkU=1xZXtz3mziPEPD2Fubbas4G2RWkZm5HHABtfKVcbu1=Sg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/414a9d3cf34c7aff1c63533df4c40ebb63bd0840

Modified Files
--------------
src/backend/commands/createas.c | 3 +++
1 file changed, 3 insertions(+)



Message-ID: <E1gyrf2-0005QI-8U@gemulon.postgresql.org>
Permalink:  ../E1gyrf2-0005QI-8U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gyrf2-0005QI-8U@gemulon.postgresql.org

 · 

reply

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: michael@paquier.xyz
  Subject: Re: pgsql: Fix memory leak when inserting tuple at relation creation for CT
  In-Reply-To: <E1gyrf2-0005QI-8U@gemulon.postgresql.org>
  References: <E1gyrf2-0005QI-8U@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