Adding a Language and Creating a Function

From: Dean Scott <ScottD(at)FamilyMeds(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Adding a Language and Creating a Function
Date: 2002-03-14 14:30:15
Message-ID: CB66C6188874D311A41C0008C7913A8A2E6C54@JULEP
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I'm relatively new to PostgreSQL and have a need to create a function with
PL/pgSQL.

When I use the createlang utility:
createlang -U postgres -L /usr/lib/pgsql plpgsql dbname

I get:
ERROR: Load of file /usr/lib/pgsql/plpgsql.so failed: undefined symbol:
fmgr_pl_finfo
createlang: language installation failed

I have also tried from within psql using the CREATE TRUSTED PROCEDURAL
LANGUAGE command and it also fails with the same error.

I am using postgresql-7.1.3 configured from source with no configure options
on Redhat Linux 7.0

Does anyone know what I am doing wrong?

Thanks in advance

Dean

Browse pgsql-general by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2002-03-14 14:39:32 Passing parameters to triggers
Previous Message tony 2002-03-14 14:19:26 Re: User permissions