Re: Memory-leak in BackgroundWriter(and Checkpointer)

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Memory-leak in BackgroundWriter(and Checkpointer)
Дата
Msg-id 20130604122736.GH5871@tamriel.snowman.net
обсуждение исходный текст
Ответ на Memory-leak in BackgroundWriter(and Checkpointer)  (Naoya Anzai <anzai-naoya@mxu.nes.nec.co.jp>)
Ответы Re: Memory-leak in BackgroundWriter(and Checkpointer)  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-bugs
* Naoya Anzai (anzai-naoya@mxu.nes.nec.co.jp) wrote:
> I've found a memory-leak bug in PostgreSQL 9.1.9's background=20
> writer process.

This looks legit, but probably not the right approach to fixing it.
Looks like it'd be better to work out a way to use a static variable to
reuse the same memory, ala what GetRunningTransactionData() does, and
avoid having to do allocation while holding all the locks (or at least,
not very often).

    Thanks,

        Stephen

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: BUG #8198: ROW() literals not supported in an IN clause
Следующее
От: Federico Campoli
Дата:
Сообщение: Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica