Re: BUG #3665: INSERT is not allowed in a non-volatile function - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3665: INSERT is not allowed in a non-volatile function
Date
Msg-id 15487.1192024680@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3665: INSERT is not allowed in a non-volatile function  ("Evgeni" <evgeni117@mail.ru>)
List pgsql-bugs
"Evgeni" <evgeni117@mail.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

pgsql-bugs by date:

Previous
From: "Yves"
Date:
Subject: BUG #3666: Truncated Parameter in LDAP string when spaces contained
Next
From: Gregory Stark
Date:
Subject: Re: PQmakeEmptyPQresult makes my application dumps core?