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

2007-10-10 Thread Tom Lane
"Evgeni" <[EMAIL PROTECTED]> 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 --

[BUGS] BUG #3665: INSERT is not allowed in a non-volatile function

2007-10-10 Thread Evgeni
The following bug has been logged online: Bug reference: 3665 Logged by: Evgeni Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.7 Operating system: Linux Redhat 7.2 Description:INSERT is not allowed in a non-volatile function Details: I write function in c