Обсуждение: Problems with PL/pgSQL functions

Поиск
Список
Период
Сортировка

Problems with PL/pgSQL functions

От
Igor Mikhailov
Дата:
I've just installed 7.0beta3 on SPARC/Solaris 2.7
Then I created PL/pgSQL language with its handler function,
defined a simple PL/pgSQL function that increments input value,
and tried to use with SELECT, but resulting msg from server was:

ERROR:  Load of file /usr/local/pgsql/lib/plpgsql.so failed: ld.so.1:
postmaster: fatal: relocation error: file /usr/local/pgsql/lib/plpgsql.so:
symbol CurrentMemoryContext: referenced symbol not found

Environment variables (PATH, LD_LIBRARY_PATH, PGDATA, PGLIB)
are correctly set up, /usr/local/pgsql/plpgsql.so presents,
and I used --enable-locale.
Actualy the same installation on linux works fine.

Thanks in advance.

----------------------------------------
Igor Mikhailov <ingwar@terranet.kiev.ua>
04-Apr-2000 19:49:23
----------------------------------------