Re: createlang fails w/ 'undef ref to _SPI_restore_connection' on 8b5 on OSX 10.3.6 - Mailing list pgsql-general

From Tom Lane
Subject Re: createlang fails w/ 'undef ref to _SPI_restore_connection' on 8b5 on OSX 10.3.6
Date
Msg-id 1123.1101874181@sss.pgh.pa.us
Whole thread Raw
In response to createlang fails w/ 'undef ref to _SPI_restore_connection' on 8b5 on OSX 10.3.6  (OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com>)
Responses Re: createlang fails w/ 'undef ref to
List pgsql-general
OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com> writes:
>     createlang: language installation failed: ERROR:  could not load library
>     "/usr/local/pgsql/lib/plpgsql.so": dyld: /usr/local/pgsql/bin/postmaster
>     Undefined symbols:
>     /usr/local/pgsql/lib/plpgsql.so undefined reference to
>     _SPI_restore_connection expected to be defined in the executable

You seem to be trying to load a current plpgsql.so into a less than
current backend.  SPI_restore_connection() was just added a few days
ago ...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Using default tablespace for database?
Next
From: Jan Wieck
Date:
Subject: Re: Upcoming Changes to News Server ...