Re: invalid memory alloc after insert with c trigger function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dj1999(at)freemail(dot)hu
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: invalid memory alloc after insert with c trigger function
Date: 2007-06-01 03:35:24
Message-ID: 16124.1180668924@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?ISO-8859-2?Q?Dud=E1s_J=F3zsef?= <dj1999(at)freemail(dot)hu> writes:
> I know that something doing wrong, but I can't find out what is it.

Getting a stack trace from the point of the errfinish call would
probably help narrow it down. One thing that's not clear is whether
SPI_modifytuple itself is failing (have you checked all the *other*
arguments you're passing it?) or whether it happens later.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-06-01 03:48:10 Re: left outer join and values()
Previous Message Joshua D. Drake 2007-06-01 03:05:07 Re: shut down one database?