Re: Missing pfree in logical_heap_rewrite_flush_mappings() - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Missing pfree in logical_heap_rewrite_flush_mappings()
Date
Msg-id 20140422220553.GH10046@momjian.us
Whole thread Raw
In response to Missing pfree in logical_heap_rewrite_flush_mappings()  (Ants Aasma <ants@cybertec.at>)
Responses Re: Missing pfree in logical_heap_rewrite_flush_mappings()
List pgsql-hackers
On Wed, Mar 26, 2014 at 06:29:38PM +0200, Ants Aasma wrote:
> It seems to me that when flushing logical mappings to disk, each
> mapping file leaks the buffer used to pass the mappings to XLogInsert.
> Also, it seems consistent to allocate that buffer in the RewriteState
> memory context. Patch attached.

Patch applied.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: Perfomance degradation 9.3 (vs 9.2) for FreeBSD
Next
From: Bruce Momjian
Date:
Subject: Re: [patch] Adding EXTRA_REGRESS_OPTS to all pg_regress invocations