Re: invalid memory alloc after insert with c trigger function - Mailing list pgsql-general

=?ISO-8859-2?Q?Dud=E1s_J=F3zsef?= <dj1999@freemail.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

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: shut down one database?
Next
From: Tom Lane
Date:
Subject: Re: left outer join and values()