Received: (from news@localhost) by hub.org (8.9.3/8.9.3) id QAA03622; Wed, 8 Sep 1999 16:32:25 -0400 (EDT) (envelope-from news) X-Authentication-Warning: hub.org: news set sender to using -f From: Patrick Logan Subject: Re: Problem enabling pltcl X-Newsgroups: comp.databases.postgresql.hackers, comp.databases.postgresql.bugs, comp.databases.postgresql.docs Followup-To: comp.databases.postgresql.docs References: <37D69D22.8876C0C4@wgcr.org> Reply-To: patrickdlogan@home.com User-Agent: tin/pre-1.4-19990624 ("Dawnrazor") (UNIX) (Linux/2.2.7 (i686)) Lines: 24 Message-ID: Date: Wed, 08 Sep 1999 20:32:09 GMT X-Complaints-To: abuse@home.net X-Trace: news.rdc1.wa.home.com 936822729 24.0.48.139 (Wed, 08 Sep 1999 13:32:09 PDT) Organization: @Home Network To: pgsql-hackers@postgresql.org.pgsql-bugs@postgresql.org.pgsql-docs@postgresql.org Lamar Owen 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@home.com