From: Richard H <dev@archonet.com>
To: Jie Liang <jliang@ipinc.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: pl/Perl
Date: Wed, 14 Mar 2001 20:57:21 GMT
Message-ID: <20010314.20572100@client.archonet.com> (raw)
In-Reply-To: <Pine.BSF.4.10.10103140856100.62546-100000@tidal.ipinc.com>
References: <Pine.BSF.4.10.10103140856100.62546-100000@tidal.ipinc.com>
On 3/14/01, 5:04:49 PM, Jie Liang <jliang@ipinc.com> wrote regarding Re:
[SQL] pl/Perl :
> Tom,
I'm not the organ grinder, but maybe the monkey can help ;-)
> 1.Where or how I can get pltcl.so? I have not find this file anywhere in
> my
> source except a pltcl.c.
Did you set the relevant parameter with ./configure? Something like
--with-tcl probably --help will give a list of options.
> 2.Dose installation same as plpgsql?
> i.e.
> CREATE FUNCTION pltcl_call_handler () RETURNS OPAQUE AS
> '/usr/local/pgsql/lib/pltcl.so' LANGUAGE 'C';
I just use the "createlang" command-line tool.
> CREATE TRUSTED PROCEDURAL LANGUAGE 'pltcl'
> HANDLER pltcl_call_handler
> LANCOMPILER 'PL/pgtcl';
> 3.Where I can find more doc about pltcl?
There's a bit in the user-manual (developer's version - 7.1 - anyway) on
the website.
Actually - there seems to be a break in the "Next" links in my local copy
of the docs. Is that just me?
Try a google search for tcl/tk - should turn up plenty of general stuff
on the language. I don't use it myself, but it seems great for simple
projects.
- Richard Huxton
> Thanks for your time.
> Jie LIANG
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: dev@archonet.com, jliang@ipinc.com, tgl@sss.pgh.pa.us
Subject: Re: pl/Perl
In-Reply-To: <20010314.20572100@client.archonet.com>
References: <Pine.BSF.4.10.10103140856100.62546-100000@tidal.ipinc.com> <20010314.20572100@client.archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox