Re: Debian PLPython

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Debian PLPython
Дата
Msg-id 87llbxl6pi.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Debian PLPython  (Simon Wittber <simonwittber@gmail.com>)
Ответы Re: Debian PLPython
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Debian PLPython
Следующее
От: Simon Wittber
Дата:
Сообщение: Re: Debian PLPython