I'm trying to set up a database and have to create a function:
create or replace function uuid() returns uuid as 'moss_uuidgen', 'moss_uuidgen' language 'C' strict;
Every time I execute that postgre tells me that in the .so file there is an undefined symbol called palloc
I know this version of Postgresql is outdated but it seems to be the only version working with my project. Does anyone know why postgre doesn't seem to know palloc
?
moss=# create or replace function uuid() returns uuid as 'moss_uuidgen',
moss-# 'moss_uuidgen' language 'C' strict;
FEHLER: konnte Bibliothek »/usr/lib/postgresql/8.4/lib/moss_uuidgen.so« nicht laden: /usr/lib/postgresql/8.4/lib/moss_uuidgen.so: undefined symbol: palloc
moss=# \q
moss@McWiki:/usr/local$
the source file is avialble here: https://foundry.openuru.org/hg/MOSS/file/3e78d60a5282/postgresql
I build the files using make
and make install
.
OS: Ubuntu Server 20.04 LTS with Postgre 8.4