Have you tried createlang command?
$ createlang -Uusername plpgsql dbname
> Hello everybody!
> I have a problem with using language "plpgsql".
>
> When i try to create plpgsql_call_handler() i receive error message: "Load of file
> /usr/local/psql/lib/plpgsql.so failed:
> /usr/local/psql/lib/plpgsql.so: undefined symbol: getTypeInputInfo"
>
> Listing of function is:
> CREATE FUNCTION plpgsql_call_handler() RETURNS OPAQUE
> AS '/usr/local/psql/lib/plpgsql.so'
> LANGUAGE 'C';
>
> I'm using PostgreSQL 7.2 installed from rpm's. File plpgsql.so exists and is placed in correct
> folder.
>
> What this error means and what should i do?
>
> Thanks for any help.
>
> P.S. OS is AspLinux...
-----------------------------------------
Get your free web based email at trade-india.com. "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/