Re: Problem enabling pltcl

From: Patrick Logan <patrick(at)c837917-a(dot)potlnd1(dot)or(dot)home(dot)com>
To: pgsql-hackers(at)postgresql(dot)org(dot)pgsql-bugs(at)postgresql(dot)org(dot)pgsql-docs(at)postgresql(dot)org
Subject: Re: Problem enabling pltcl
Date: 1999-09-08 20:32:09
Message-ID: dJzB3.16297$Hu6.6589@news.rdc1.wa.home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-docs pgsql-hackers

Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> wrote:
: Patrick Logan wrote:
:> ERROR: Unrecognized language specified in a CREATE FUNCTION:
:> 'pltcl'. Recognized languages are sql, C, internal and the
:> created procedural languages.
:>
:> The docs say that pltcl is enabled if it is built with the TCL
:> option. What am I missing?

: CREATE LANGUAGE (command line utility 'createlang'). See the regression
: test shell script (src/test/regress/regress.sh) for an example using
: plpgsql. The PL's are not created and installed by default, apparently.

Thanks. I also had to create the handler function as per the
documentation for creating new procedural language interfaces.

Boy, the documentation sure read to me like all that was supposed to
be done automatically by the Makefile when configured for pltcl.

Not a big deal, but it wasn't clear to me this had to be done for each
database created. Is this a bug in the documentation?

--
Patrick Logan patrickdlogan(at)home(dot)com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 1999-09-08 22:01:18 Re: [BUGS] Set Transaction Isolation level bug
Previous Message Alois Maier 1999-09-08 18:21:06 Set Transaction Isolation level bug

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 1999-09-08 21:42:45 Re: [HACKERS] Re: Problem enabling pltcl
Previous Message Lamar Owen 1999-09-08 17:30:10 Re: [HACKERS] Problem enabling pltcl

Browse pgsql-hackers by date

  From Date Subject
Next Message Edwin Ramirez 1999-09-08 21:05:38 Re: [HACKERS] Postgres Performance
Previous Message Lamar Owen 1999-09-08 19:35:22 Re: [HACKERS] PG_UPGRADE status?