Re: Debian PLPython - Mailing list pgsql-general

From Greg Stark
Subject Re: Debian PLPython
Date
Msg-id 87llbxl6pi.fsf@stark.xeocode.com
Whole thread Raw
In response to Debian PLPython  (Simon Wittber <simonwittber@gmail.com>)
Responses Re: Debian PLPython
List pgsql-general
Simon Wittber <simonwittber@gmail.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Debian PLPython
Next
From: Simon Wittber
Date:
Subject: Re: Debian PLPython