]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
docs: document which server-side languages can create procs
authorBruce Momjian <bruce@momjian.us>
Wed, 23 Dec 2020 14:37:37 +0000 (09:37 -0500)
committerBruce Momjian <bruce@momjian.us>
Wed, 23 Dec 2020 14:37:37 +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)
 
   <para>
    PL/Perl is a loadable procedural language that enables you to write
-   <productname>PostgreSQL</productname> functions in the
+   <productname>PostgreSQL</productname> functions and procedures in the
    <ulink url="https://www.perl.org">Perl programming language</ulink>.
   </para>
 
   <para>
    The main advantage to using PL/Perl is that this allows use,
-   within stored functions, of the manyfold <quote>string
+   within stored functions and procedures, of the manyfold <quote>string
    munging</quote> 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 5e75c47d68668e2cb61014b492ff6643759f0946..0ceb89c5e982119fec99a78d8d599baada522cf5 100644 (file)
@@ -19,7 +19,7 @@
     <itemizedlist>
      <listitem>
       <para>
-       can be used to create functions and triggers,
+       can be used to create functions, procedures, and triggers,
       </para>
      </listitem>
      <listitem>
@@ -34,7 +34,7 @@
      </listitem>
      <listitem>
       <para>
-       inherits all user-defined types, functions, and operators,
+       inherits all user-defined types, functions, procedures, and operators,
       </para>
      </listitem>
      <listitem>
index 60a5907464031557e03b74b7a1db4b5ca0d38d50..111ef27de4c93abb9f30b2748b8ad763f23d5e05 100644 (file)
@@ -8,7 +8,7 @@
 
  <para>
   The <application>PL/Python</application> procedural language allows
-  <productname>PostgreSQL</productname> functions to be written in the
+  <productname>PostgreSQL</productname> functions and procedures to be written in the
   <ulink url="https://www.python.org">Python language</ulink>.
  </para>
 
index b0154cc7a3d390d13d99e7234b093adbc098bc5d..cf2a57eac63657db6ec4f1b7c91c5efbb035b90b 100644 (file)
@@ -16,7 +16,7 @@
    <productname>PostgreSQL</productname> database system
    that enables the <ulink url="https://www.tcl.tk/">
    Tcl language</ulink> to be used to write
-   <productname>PostgreSQL</productname> functions.
+   <productname>PostgreSQL</productname> functions and procedures.
   </para>
 
   <!-- **** PL/Tcl overview **** -->
index 6f4f3bae6ff3af17b523890ddbabacedc79db202..22e6bd32629a1247d1665ffcf2858df23b35211a 100644 (file)
@@ -11,7 +11,7 @@
   The <firstterm>Server Programming Interface</firstterm>
   (<acronym>SPI</acronym>) gives writers of user-defined
   <acronym>C</acronym> functions the ability to run
-  <acronym>SQL</acronym> commands inside their functions.
+  <acronym>SQL</acronym> commands inside their functions or procedures.
   <acronym>SPI</acronym> is a set of
   interface functions to simplify access to the parser, planner,
   and executor. <acronym>SPI</acronym> also does some