plr

从数据库中加载R语言解释器并执行R脚本

扩展总览

PGDG 第一方扩展: plr : 从数据库中加载R语言解释器并执行R脚本

基本信息

  • 扩展编号: 3100
  • 扩展名称: plr
  • 标准包名: plr
  • 扩展类目: LANG
  • 开源协议: GPLv2
  • 官方网站: https://github.com/postgres-plr/plr
  • 编程语言: C
  • 其他标签: big-deps
  • 备注信息: 无

元数据

  • 默认版本: 8.4.7
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:plr_$v*
  • RPM版本:8.4.7
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-plr
  • DEB版本:8.4.7
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 plr_17
PGDG 8.4.7
plr_16
PGDG 8.4.7
plr_15
PGDG 8.4.7
plr_14
PGDG 8.4.7
plr_13
PGDG 8.4.7
el8 aarch64 plr_17
PGDG 8.4.7
plr_16
PGDG 8.4.7
plr_15
PGDG 8.4.7
plr_14
PGDG 8.4.7
plr_13
PGDG 8.4.7
el9 x86_64 plr_17
PGDG 8.4.7
plr_16
PGDG 8.4.7
plr_15
PGDG 8.4.7
plr_14
PGDG 8.4.7
plr_13
PGDG 8.4.7
el9 aarch64 plr_17
PGDG 8.4.7
plr_16
PGDG 8.4.7
plr_15
PGDG 8.4.7
plr_14
PGDG 8.4.7
plr_13
PGDG 8.4.7
d12 x86_64 postgresql-17-plr
PGDG 1:8.4.7
postgresql-16-plr
PGDG 1:8.4.7
postgresql-15-plr
PGDG 1:8.4.7
postgresql-14-plr
PGDG 1:8.4.7
postgresql-13-plr
PGDG 1:8.4.7
d12 aarch64 postgresql-17-plr
PGDG 1:8.4.7
postgresql-16-plr
PGDG 1:8.4.7
postgresql-15-plr
PGDG 1:8.4.7
postgresql-14-plr
PGDG 1:8.4.7
postgresql-13-plr
PGDG 1:8.4.7
u22 x86_64 postgresql-17-plr
PGDG 1:8.4.7
postgresql-16-plr
PGDG 1:8.4.7
postgresql-15-plr
PGDG 1:8.4.7
postgresql-14-plr
PGDG 1:8.4.7
postgresql-13-plr
PGDG 1:8.4.7
u22 aarch64 postgresql-17-plr
PGDG 1:8.4.7
postgresql-16-plr
PGDG 1:8.4.7
postgresql-15-plr
PGDG 1:8.4.7
postgresql-14-plr
PGDG 1:8.4.7
postgresql-13-plr
PGDG 1:8.4.7
u24 x86_64 postgresql-17-plr
PGDG 1:8.4.7
postgresql-16-plr
PGDG 1:8.4.7
postgresql-15-plr
PGDG 1:8.4.7
postgresql-14-plr
PGDG 1:8.4.7
postgresql-13-plr
PGDG 1:8.4.7
u24 aarch64 postgresql-17-plr
PGDG 1:8.4.7
postgresql-16-plr
PGDG 1:8.4.7
postgresql-15-plr
PGDG 1:8.4.7
postgresql-14-plr
PGDG 1:8.4.7
postgresql-13-plr
PGDG 1:8.4.7

扩展安装

使用 pig 命令行工具安装 plr 扩展:

pig ext install plr

使用 Pigsty剧本 安装 plr 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["plr"]}' # -l <集群名>

YUM仓库 手工安装 plr RPM 包:

dnf install plr_17*;
dnf install plr_16*;
dnf install plr_15*;
dnf install plr_14*;
dnf install plr_13*;

APT仓库 手工安装 plr DEB 包:

apt install postgresql-17-plr;
apt install postgresql-16-plr;
apt install postgresql-15-plr;
apt install postgresql-14-plr;
apt install postgresql-13-plr;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 plr 扩展:

CREATE EXTENSION plr;




最后修改 2025-03-20: update extension version (52133a3)