Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)
Date: 2001-06-09 00:20:28
Message-ID: 16029.992046028@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

darcy(at)druid(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2001-06-09 01:28:20 Re: Re: [PATCHES] Fw: Isn't pg_statistic a security hole - Solution Proposal
Previous Message D'Arcy J.M. Cain 2001-06-08 23:44:42 Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)