From 0eaaeabed7c5798260c2ca20c711527acd4f0ce2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 23 Dec 2020 09:37:37 -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 5e75c47d686..0ceb89c5e98 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 60a59074640..111ef27de4c 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 b0154cc7a3d..cf2a57eac63 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 6f4f3bae6ff..22e6bd32629 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