Package Info

postgresql12-plr


PL/R - R Procedural Language for PostgreSQL


Productivity/Databases/Servers

PL/R is a loadable procedural language that enables you to write PostgreSQL functions and triggers in the R programming language. PL/R offers most (if not all) of the capabilities a function writer has in the R language.

Commands are available to access the database via the PostgreSQL Server Programming Interface (SPI) and to raise messages via elog() . There is no way to access internals of the database backend. However the user is able to gain OS-level access under the permissions of the PostgreSQL user ID, as with a C function. Thus, any unprivileged database user should not be permitted to use this language. It must be installed as an untrusted procedural language so that only database superusers can create functions in it. The writer of a PL/R function must take care that the function cannot be used to do anything unwanted, since it will be able to do anything that could be done by a user logged in as the database administrator.

An implementation restriction is that PL/R procedures cannot be used to create input/output functions for new data types.


License: GPL-2.0-or-later
URL: https://github.com/postgres-plr/plr/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
8.4-bp155.2.13 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • postgresql12-plr
  • postgresql12-plr-doc
8.4-bp154.1.46 info GA Release 2022-05-12 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • postgresql12-plr
  • postgresql12-plr-doc
8.4-bp153.2.11 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • postgresql12-plr
  • postgresql12-plr-doc