plr
load R interpreter and execute R script from within a database
	Module:
Categories:
Overview
PGDG 1st Party Extension:  plr : load R interpreter and execute R script from within a database
Information
- Extension ID: 3100
 - Extension Name: 
plr - Package Name: 
plr - Category: 
LANG - License: GPLv2
 - Website: https://github.com/postgres-plr/plr
 - Language: C
 - Extra Tags: 
big-deps - Comment: N/A
 
Metadata
- Latest Version: 8.4.7
 - Postgres Support: 
17,16,15,14,13 - Need Load: Shared library do not need explicit loading
 - Need DDL:  Need 
CREATE EXTENSIONDDL - Relocatable: Unknown
 - Trusted: Untrusted, Require Superuser to Create
 - Schemas: N/A
 - Requires: N/A
 
RPM / DEB
- RPM Repo: PGDG
 - RPM Name: 
plr_$v* - RPM Ver : 
8.4.7 - RPM Deps: N/A
 - DEB Repo: PGDG
 - DEB Name: 
postgresql-$v-plr - DEB Ver : 
8.4.7 - DEB Deps: N/A
 
Availability
| OS | Arch | PG17 | PG16 | PG15 | PG14 | PG13 | 
|---|---|---|---|---|---|---|
el8 | 
x86_64 | 
plr_17 PGDG 8.4.8 | 
plr_16 PGDG 8.4.8 | 
plr_15 PGDG 8.4.8 | 
plr_14 PGDG 8.4.8 | 
plr_13 PGDG 8.4.8 | 
el8 | 
aarch64 | 
plr_17 PGDG 8.4.8 | 
plr_16 PGDG 8.4.8 | 
plr_15 PGDG 8.4.8 | 
plr_14 PGDG 8.4.8 | 
plr_13 PGDG 8.4.8 | 
el9 | 
x86_64 | 
plr_17 PGDG 8.4.8 | 
plr_16 PGDG 8.4.8 | 
plr_15 PGDG 8.4.8 | 
plr_14 PGDG 8.4.8 | 
plr_13 PGDG 8.4.8 | 
el9 | 
aarch64 | 
plr_17 PGDG 8.4.8 | 
plr_16 PGDG 8.4.8 | 
plr_15 PGDG 8.4.8 | 
plr_14 PGDG 8.4.8 | 
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 | 
Installation
Install plr via the pig CLI tool:
pig ext install plr
Install plr via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["plr"]}' # -l <cls>
Install plr RPM from YUM repo directly:
dnf install plr_17*;
dnf install plr_16*;
dnf install plr_15*;
dnf install plr_14*;
dnf install plr_13*;
Install plr DEB from APT repo directly:
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;
Create plr extension on PostgreSQL cluster:
CREATE EXTENSION plr;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.