PL/Perl is a loadable procedural language that enables you to write
-
PostgreSQL functions in the
+
PostgreSQL functions
and procedures in the
Perl programming language.
The main advantage to using PL/Perl is that this allows use,
- within stored functions, of the manyfold string
+ 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.
- can be used to create functions and triggers,
+ can be used to create functions, procedures, and triggers,
- inherits all user-defined types, functions, and operators,
+ inherits all user-defined types, functions, procedures, and operators,
The
PL/Python procedural language allows
-
PostgreSQL functions to be written in the
+
PostgreSQL functions
and procedures to be written in the
PostgreSQL database system
Tcl language to be used to write
+
PostgreSQL functions
and procedures.
The Server Programming Interface
(
SPI) gives writers of user-defined
C functions the ability to run
-
SQL commands inside their functions.
+
SQL commands inside their functions
or procedures.
interface functions to simplify access to the parser, planner,
and executor.
SPI also does some