Re: Debian PLPython

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Debian PLPython
Date: 2004-12-17 07:33:29
Message-ID: 87llbxl6pi.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Simon Wittber <simonwittber(at)gmail(dot)com> writes:

> I've now installed 7.4 on our debian server, but it appears not to
> come with plpython installed.

It does to, you should have a files like:

bash-3.00$ ls -l /usr/lib/postgresql/lib/pl*.so
-rw-r--r-- 1 root root 32896 Dec 1 04:19 /usr/lib/postgresql/lib/plperl.so
-rw-r--r-- 1 root root 114252 Dec 1 04:19 /usr/lib/postgresql/lib/plpgsql.so
-rw-r--r-- 1 root root 39780 Dec 1 04:19 /usr/lib/postgresql/lib/plpython.so

You have to su to postgres and run createlang on each database you want to
have the language in though. Something like:

createlang -d databasename plpython

You could do this for the template1 database if you want it to be in all
subsequently created databases. I always find that more confusing in the long
run though.

--
greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Simon Wittber 2004-12-17 07:53:14 Re: Debian PLPython
Previous Message Tom Lane 2004-12-17 07:07:31 Re: Debian PLPython