Memory-leak in BackgroundWriter(and Checkpointer) - Mailing list pgsql-bugs

From Naoya Anzai
Subject Memory-leak in BackgroundWriter(and Checkpointer)
Date
Msg-id E4CE60F76BA483anzai-naoya@mxu.nes.nec.co.jp
Whole thread Raw
Responses Re: Memory-leak in BackgroundWriter(and Checkpointer)
List 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

pgsql-bugs by date:

Previous
From: divided.mind@gmail.com
Date:
Subject: BUG #8199: row datatypes are not hashable
Next
From: Amit Kapila
Date:
Subject: Re: BUG #8198: ROW() literals not supported in an IN clause