docs: document which server-side languages can create procs
authorBruce Momjian
Wed, 23 Dec 2020 14:37:38 +0000 (09:37 -0500)
committerBruce Momjian
Wed, 23 Dec 2020 14:37:38 +0000 (09:37 -0500)
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
doc/src/sgml/plpgsql.sgml
doc/src/sgml/plpython.sgml
doc/src/sgml/pltcl.sgml
doc/src/sgml/spi.sgml

index 78ad2f0113594c5946babf40e9b7bd46c9fb8d1b..bd4ff7770f11e37e43ab124557ed3955153d169c 100644 (file)
 
   
    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.
index 3e0d7cfa01b52457a449773fb3c331f5c83b40b8..afa96ebb29c97def3e0ab0fa7ffd72e8b4d64e57 100644 (file)
@@ -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,
       
      
      
index 31458e71a89d543782b42f8e2e512c41b399aebb..760cc96e0762c7730536984df071f7be3a39fbbb 100644 (file)
@@ -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.
  
 
index 300dcb954d2af583ac50a58575299a55dcb80b3a..35e9826770777781977af1a264c3d79553382f89 100644 (file)
@@ -16,7 +16,7 @@
    PostgreSQL database system
    that enables the 
    Tcl language to be used to write
-   PostgreSQL functions.
+   PostgreSQL functions and procedures.
   
 
   
index 66eced6c949087b4ebf68ddad66060f1ae292592..b2d330f17cfe7bfd1316d778181586c57cce8730 100644 (file)
@@ -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