From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Andres Freund <andres@2ndquadrant.com>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Naoya Anzai <anzai-naoya@mxu.nes.nec.co.jp>
Cc: pgsql-bugs@postgresql.org
Cc: Akio Iwaasa <iwaasa@mxs.nes.nec.co.jp>
Subject: Re: Memory-leak in BackgroundWriter(and Checkpointer)
Date: Tue, 04 Jun 2013 14:21:20 -0400
Message-ID: <29609.1370370080@sss.pgh.pa.us> (raw)
In-Reply-To: <20130604180525.GK5871@tamriel.snowman.net>
References: <E4CE60F76BA483anzai-naoya@mxu.nes.nec.co.jp>
<20130604122736.GH5871@tamriel.snowman.net>
<51ADEA34.4080704@vmware.com>
<20130604132758.GC2854@alap2.anarazel.de>
<20130604134927.GI5871@tamriel.snowman.net>
<28228.1370368383@sss.pgh.pa.us>
<20130604180525.GK5871@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> I think the proposed fix is fine code-wise; the real problem here is
>> crummy commenting. GetRunningTransactionLocks isn't documented as
>> returning a palloc'd array, and why the heck do we have a long comment
>> about its implementation in LogStandbySnapshot?
> Certainly good questions and better comments would have helped here. I
> can go back and rework the patch either way.
I'm already working on back-patching the attached.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, andres@2ndquadrant.com, hlinnakangas@vmware.com, anzai-naoya@mxu.nes.nec.co.jp, iwaasa@mxs.nes.nec.co.jp
Subject: Re: Memory-leak in BackgroundWriter(and Checkpointer)
In-Reply-To: <29609.1370370080@sss.pgh.pa.us>
References: <E4CE60F76BA483anzai-naoya@mxu.nes.nec.co.jp> <20130604122736.GH5871@tamriel.snowman.net> <51ADEA34.4080704@vmware.com> <20130604132758.GC2854@alap2.anarazel.de> <20130604134927.GI5871@tamriel.snowman.net> <28228.1370368383@sss.pgh.pa.us> <20130604180525.GK5871@tamriel.snowman.net> <29609.1370370080@sss.pgh.pa.us>
* 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