From 8985e021df36d9d65183c8349351464addab4536 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 23 Dec 2020 09:37:38 -0500 Subject: [PATCH] docs: document which server-side languages can create procs This was missed when the feature was added. Reported-by: Daniel Westermann Discussion: https://postgr.es/m/160624532969.25818.4767632047905006142@wrigleys.postgresql.org Backpatch-through: 11 --- doc/src/sgml/plperl.sgml | 4 ++-- doc/src/sgml/plpgsql.sgml | 4 ++-- doc/src/sgml/plpython.sgml | 2 +- doc/src/sgml/pltcl.sgml | 2 +- doc/src/sgml/spi.sgml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index 78ad2f01135..bd4ff7770f1 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -13,13 +13,13 @@ 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. diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 3e0d7cfa01b..afa96ebb29c 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -19,7 +19,7 @@ - can be used to create functions and triggers, + can be used to create functions, procedures, and triggers, @@ -34,7 +34,7 @@ - inherits all user-defined types, functions, and operators, + inherits all user-defined types, functions, procedures, and operators, diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index 31458e71a89..760cc96e076 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -8,7 +8,7 @@ The PL/Python procedural language allows - PostgreSQL functions to be written in the + PostgreSQL functions and procedures to be written in the Python language. diff --git a/doc/src/sgml/pltcl.sgml b/doc/src/sgml/pltcl.sgml index 300dcb954d2..35e98267707 100644 --- a/doc/src/sgml/pltcl.sgml +++ b/doc/src/sgml/pltcl.sgml @@ -16,7 +16,7 @@ PostgreSQL database system that enables the Tcl language to be used to write - PostgreSQL functions. + PostgreSQL functions and procedures. diff --git a/doc/src/sgml/spi.sgml b/doc/src/sgml/spi.sgml index 66eced6c949..b2d330f17cf 100644 --- a/doc/src/sgml/spi.sgml +++ b/doc/src/sgml/spi.sgml @@ -11,7 +11,7 @@ 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. SPI is a set of interface functions to simplify access to the parser, planner, and executor. SPI also does some