Re: Lisp as procedural language - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: Lisp as procedural language
Date
Msg-id 20010505222157.B9629@l-t.ee
Whole thread Raw
In response to Lisp as procedural language  ("Vladimir V. Zolotych" <gsmith@eurocom.od.ua>)
List pgsql-hackers
On Sat, May 05, 2001 at 04:54:07PM +0300, Vladimir V. Zolotych wrote:
> I see the following 
> 
> proba=> select * from pg_language;

> lisp    |f      |f           |            0|/usr/ucb/liszt

> Would you mind to tell me is it possible to use Lisp
> as procedural language ? Which Lisp (e.g Emacs-list,
> Common Lisp, etc.). If it is possible could you give
> me hints how I can do that ?

Huh?  Seems like you already have using lisp?  Ask your
sysadmin where did he got it?  And meybe you/he could
post it to PostgreSQL lists too?

Or did you simply inserted a new row into pg_language?
Well, that's not the way it works.  There needs to be a glue
layer between PostgreSQL and a language.  You should study
code in pgsql/src/pl/{plperl,tcl} for how it is
implementer for Perl and Tcl.  There is also plpgsql which
is stand-alone module.

> I'm using PosgtreSQL 7.0, Slackware 7.0, also I have
> Common Lisp (CMUCL 18c) installed.

Ok, but you need a little bit more for that...

-- 
marko



pgsql-hackers by date:

Previous
From: Marko Kreen
Date:
Subject: Re: File system performance and pg_xlog
Next
From: The Hermit Hacker
Date:
Subject: v7.1.1 Branched, Packaged and Released ...