Re: BUG #2836: SPI_execute_plan failed on pl/pgsql function that worked on 8.1 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2836: SPI_execute_plan failed on pl/pgsql function that worked on 8.1
Date
Msg-id 18577.1167152266@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2836: SPI_execute_plan failed on pl/pgsql function that worked on 8.1  ("Albert Cervera i Areny" <albert@sedifa.com>)
List pgsql-bugs
"Albert Cervera i Areny" <albert@sedifa.com> writes:
> I get the following error on a function that worked correctly on 8.1:

> ERROR:  SPI_execute_plan failed executing query "UPDATE
> pg_catalog.pg_settings SET setting= $1  WHERE name='search_path'":
> Unrecognized SPI code 0

Fixed, thanks for the report!

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Harpreet Dhaliwal"
Date:
Subject: Re: [GENERAL] NEED URGENT HELP....
Next
From: Tom Lane
Date:
Subject: Re: BUG #2839: after record with NULL field, query result is wrong