当我尝试启用plythonu使用
CREATE EXTENSION plpythonu
我收到错误
ERROR: Could not open extension control file "/usr/pgsql-9.3/share/extension/plpythonu.control": No such file or directory
PL / Python未安装.在Postgresql的大多数Linux包中,它是一个单独的包.
如果您在Debian / Ubuntu上使用apt.postgresql.org(PGDG)软件包:
apt-get install postgresql-contrib-9.3 postgresql-plpython-9.3
如果您在Ubuntu或Debian上使用他们的库存Postgresql软件包:
apt-get install postgresql-contrib postgresql-plpython
如果您使用的是Fedora / CentOS / RhEL,请从yum.postgresql.org获取PGDG包:
yum install postgresql93-contrib postgresql93-plpython
如果您使用的是Fedora / CentOS / RHEL,可以使用库存包:
yum install postgresql-contrib postgresql-plpython
contrib包不是严格要求的,但你也可能想要它们.
原文地址:https://www.jb51.cc/postgresql/191688.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。