Memory-leak in BackgroundWriter(and Checkpointer)

From: Naoya Anzai <anzai-naoya(at)mxu(dot)nes(dot)nec(dot)co(dot)jp>
To: pgsql-bugs(at)postgresql(dot)org
Cc: Akio Iwaasa <iwaasa(at)mxs(dot)nes(dot)nec(dot)co(dot)jp>
Subject: Memory-leak in BackgroundWriter(and Checkpointer)
Date: 2013-06-04 07:45:01
Message-ID: E4CE60F76BA483anzai-naoya@mxu.nes.nec.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi All.

I've found a memory-leak bug in PostgreSQL 9.1.9's background
writer process.

When following parameter is set, it occurs every time CHECKPOINT runs.

wal_level = hot_standby

I've also confirmed REL9_1_STABLE and it is not fixed yet.

In additional, it also occurs in 9.3.beta1's checkpointer.

I created a patch (attached file) for 9.1.9,
so could anyone confirm?

Best regards.
---
Naoya Anzai
NEC Soft,Ltd.
http://www.necsoft.com/eng/

Attachment Content-Type Size
standby.patch application/octet-stream 408 bytes

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Amit Kapila 2013-06-04 10:35:05 Re: BUG #8198: ROW() literals not supported in an IN clause
Previous Message shuhei_aoyama 2013-06-04 05:48:28 About omitting ideographic space to create array.