PostgreSQL: how to install plpythonu extension

前端 未结 3 1251
走了就别回头了
走了就别回头了 2020-12-31 03:22

I\'m running PostgreSQL 9.3.1 on Ubuntu 12.04.4. I\'d like to use the plpython language extension but I get an error when I try to use it I get:

ERROR: langua

3条回答
  •  礼貌的吻别
    2020-12-31 03:53

    You're using a PostgreSQL package from Bitnami, in /opt. It's not clear if you installed this with apt-get or via an installer script/program, but in either case it's not the same PostgreSQL as what's in the Ubuntu postgresql package.

    Installing postgresql-plpython won't do you any good, because you're installing PL/Python support for a different PostgreSQL install than the one you're actually using.

    You'll need to use the same installation method you originally used to install the Bitnami PostgreSQL to add PL/Python support, if it's available. It might not be provided by Bitnami.

    Otherwise, if you're not too attached to using Bitnami's PostgreSQL, you could use the recommended packages from http://apt.postgresql.org/ .

提交回复
热议问题