开发者

How to add python support to already installed postgreSQL? [closed]

开发者 https://www.devze.com 2023-01-13 03:51 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_开发百科 Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.
开发者_开发百科

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

Improve this question

I have postgreSQL version 8.3 installed on an ubuntu machine. This was installed via apt get. When I was trying to source a database dump that has some plsql functions written, I got the following error -

could not access file "$libdir/plpython": No such file or directory

When I tried to enable python support for a particular database, I got yet another error -

$ createlang plpythonu <dbname> -U postgres
createlang: language installation failed: ERROR:  could not access file "$libdir/plpython": No such file or directory

Is there a way that I can add support for python without having to reinstall postgreSQL?


sudo apt-get install postgresql-plpython-8.3

or for postgresql 8.4:

sudo apt-get install postgresql-plpython-8.4


Install postgresql-plpython-8.3?

0

精彩评论

暂无评论...
验证码 换一张
取 消