加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

postgresql – Postgres plpythonu扩展名不存在于/usr/pgsql-9.3

发布时间:2020-12-13 16:31:50 所属栏目:百科 来源:网络整理
导读:当我尝试启用plythonu使用 CREATE EXTENSION plpythonu 我收到错误 ERROR: could not open extension control file "/usr/pgsql-9.3/share/extension/plpythonu.control": No such file or directory 扩展文件夹没有该名称的文件. 有没有下载链接?如何添加p
当我尝试启用plythonu使用
CREATE EXTENSION plpythonu

我收到错误

ERROR:  could not open extension control file "/usr/pgsql-9.3/share/extension/plpythonu.control": No such file or directory

扩展文件夹没有该名称的文件.

有没有下载链接?如何添加plpythonu?

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包不是严格要求的,但你也可能想要它们.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读