]> begriffs open source - ai-pg/blob - full-docs/txt/plperl.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / plperl.txt
1
2 Chapter 43. PL/Perl — Perl Procedural Language
3
4    Table of Contents
5
6    43.1. PL/Perl Functions and Arguments
7    43.2. Data Values in PL/Perl
8    43.3. Built-in Functions
9
10         43.3.1. Database Access from PL/Perl
11         43.3.2. Utility Functions in PL/Perl
12
13    43.4. Global Values in PL/Perl
14    43.5. Trusted and Untrusted PL/Perl
15    43.6. PL/Perl Triggers
16    43.7. PL/Perl Event Triggers
17    43.8. PL/Perl Under the Hood
18
19         43.8.1. Configuration
20         43.8.2. Limitations and Missing Features
21
22    PL/Perl is a loadable procedural language that enables you to write
23    PostgreSQL functions and procedures in the Perl programming language.
24
25    The main advantage to using PL/Perl is that this allows use, within
26    stored functions and procedures, of the manyfold “string munging”
27    operators and functions available for Perl. Parsing complex strings
28    might be easier using Perl than it is with the string functions and
29    control structures provided in PL/pgSQL.
30
31    To install PL/Perl in a particular database, use CREATE EXTENSION
32    plperl.
33
34 Tip
35
36    If a language is installed into template1, all subsequently created
37    databases will have the language installed automatically.
38
39 Note
40
41    Users of source packages must specially enable the build of PL/Perl
42    during the installation process. (Refer to Chapter 17 for more
43    information.) Users of binary packages might find PL/Perl in a separate
44    subpackage.