↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Procedural Languages

plperl

PL/Perl procedural language

Reading PG 18·Select a recorded version

Kind
Bundled procedural-language variant
Family
PL/Perl
Trusted
t
Handler
plperl_call_handler
Inline handler
plperl_inline_handler
Validator
plperl_validator
Library
$libdir/plperl
Default version
1.0
Module pathname
$libdir/plperl
Comment
PL/Perl procedural language
aliases
Unknown
manual path
/docs/18/plperl.html
signature
Unknown

Definition PG 18

Chapter 43. PL/Perl — Perl Procedural Language

PL/Perl is a loadable procedural language that enables you to write PostgreSQL functions and procedures in the Perl programming language.

The main advantage to using PL/Perl is that this allows use, within stored functions and procedures, of the manyfold “string munging” operators and functions available for Perl. Parsing complex strings might be easier using Perl than it is with the string functions and control structures provided in PL/pgSQL.

To install PL/Perl in a particular database, use CREATE EXTENSION plperl.

Tip

If a language is installed into template1, all subsequently created databases will have the language installed automatically.

Note

Users of source packages must specially enable the build of PL/Perl during the installation process. (Refer to Chapter 17 for more information.) Users of binary packages might find PL/Perl in a separate subpackage.

Compare versions

Complete source facts

attributes

{"comment":"PL/Perl procedural language","default_version":"1.0","family":"PL/Perl","handler":"plperl_call_handler","inline_handler":"plperl_inline_handler","kind":"Bundled procedural-language variant","library":"$libdir/plperl","module_pathname":"$libdir/plperl","trusted":"t","validator":"plperl_validator"}

source files

{"src/pl/plperl/plperl--1.0.sql":"8a6ef30b252bfdd4fd79bed8acd37622600544148e780060c8bfa7f968a43716","src/pl/plperl/plperl.control":"12e5ab2ab6f9d9963482311084b3171087a28b3168f7e1e09ada38df4ba264e3"}

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f