Re: SPI dumping core on large palloc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SPI dumping core on large palloc
Дата
Msg-id 18949.1191854246@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SPI dumping core on large palloc  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-general
"Merlin Moncure" <mmoncure@gmail.com> writes:
> Am I doing anything wrong here?

Returning an already-pfree'd hunk of memory.  I gather you are not
testing your code in an enable-cassert build (tut tut), else you'd
not think this worked for small allocations either.  See
http://developer.postgresql.org/pgdocs/postgres/spi-memory.html

            regards, tom lane

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: SPI dumping core on large palloc
Следующее
От: MargaretGillon@chromalloy.com
Дата:
Сообщение: Re: Database reverse engineering