Re: pg_ctl infinite loop and memory leak

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_ctl infinite loop and memory leak
Дата
Msg-id 24368.1251859858@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_ctl infinite loop and memory leak  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-bugs
Jeff Davis <pgsql@j-davis.com> writes:
> On Tue, 2009-09-01 at 22:01 -0400, Tom Lane wrote:
>> Where's the memory leak?

> The xstrdup() on the zero-length string.

Oh, I see.  But actually, it's also clobbering memory like crazy (since
we'll run off the result[] array in no time).  Surprising it doesn't
crash from that.

            regards, tom lane

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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: pg_ctl infinite loop and memory leak
Следующее
От: Tom Lane
Дата:
Сообщение: Re: lost statistics; analyze needs to execute twice