Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)
Дата
Msg-id 16029.992046028@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)  (darcy@druid.net (D'Arcy J.M. Cain))
Ответы Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)  (darcy@druid.net (D'Arcy J.M. Cain))
Список pgsql-hackers
darcy@druid.net (D'Arcy J.M. Cain) writes:
>> heap_formtuple is for constructing a tuple from scratch.  It sounds like
>> you should be using heap_modifytuple instead.

> But I am using SPI_modifytuple().  The rest came from tracing that
> function.

Hm.  Looks like the author of SPI_modifytuple didn't realize he could
use heap_modifytuple :-(.  But he is correctly extracting the old data.
I don't see anything wrong there, assuming that you are passing a
relation descriptor that matches the original tuple.
        regards, tom lane


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

Предыдущее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)
Следующее
От: "Joe Conway"
Дата:
Сообщение: Re: Re: [PATCHES] Fw: Isn't pg_statistic a security hole - Solution Proposal