| От | 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)
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера