Re: Createlang Pltclu failed - Mailing list pgsql-general

From suresh s
Subject Re: Createlang Pltclu failed
Date
Msg-id 20021129055347.76475.qmail@web14609.mail.yahoo.com
Whole thread Raw
In response to Createlang Pltclu failed  ("Madhavi" <madhavi@zoniac.com>)
List pgsql-general
> Error: Load of file /usr/lib/pgsql/pltcl.so
 failed:
> /usr/lib/pgsql/pltcl.so:
> Undefined symbol: Tcl_CreateSlave
> Createlang: language installation failed

u have to define a handler for the the language

these are the supported languages
'plpgsql', 'pltcl', 'pltclu', and 'plperl'.


run this script at postgres
---------------------------
CREATE FUNCTION pltcl_call_handler () RETURNS opaque
AS '/usr/lib/pgsql/pltcl.so'
LANGUAGE 'C';

CREATE PROCEDURAL LANGUAGE 'pltcl'
HANDLER pltcl_call_handler
LANCOMPILER 'PL/tcl';

this should solve the problem

suresh

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

pgsql-general by date:

Previous
From: suresh s
Date:
Subject: Re: Createlang Pltclu failed
Next
From: suresh s
Date:
Subject: Re: Createlang Pltclu failed