Re: BUG #3665: INSERT is not allowed in a non-volatile function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Evgeni" <evgeni117(at)mail(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3665: INSERT is not allowed in a non-volatile function
Date: 2007-10-10 13:58:00
Message-ID: 15487.1192024680@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Evgeni" <evgeni117(at)mail(dot)ru> writes:
> On SPI_exec see erorr ERROR: INSERT is not allowed in a non-volatile
> function

You didn't show us your code, but somehow or other you're managing to
pass read_only = true to the SPI execution code.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Gregory Stark 2007-10-10 17:10:41 Re: PQmakeEmptyPQresult makes my application dumps core?
Previous Message Yves 2007-10-10 13:45:14 BUG #3666: Truncated Parameter in LDAP string when spaces contained