Marek Lewczuk <marek@lewczuk.com> writes:
> I have made an upgrade to PG 8.4 and following error was thrown during
> execution of some pl/pgsql function:
> ERROR: XX000: SPI_connect failed: SPI_ERROR_CONNECT
Really? Could we see a self-contained example?
regards, tom lane