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