]> 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:38 +0000 (09:37 -0500)
committerBruce Momjian <bruce@momjian.us>
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 59cd92733a7f5580892c0feae574a87d58b5fd82..01f9870773da32fc1f7b0af6f38ab6a8557eb384 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 ad1abdd0cab41ef3a1ef5384e57f7ea7cc737b36..b562bfd9c3005633135150455c4e61c6b7d71139 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 1921915b17247295d9490bf8e3572c8821a04017..c1651000a3d8b926d4e763ba5ab124117255fe78 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 fb1ec632a86acde35aad205b31cd9e4ca0b083ba..032e0b3a6ba82567a2401e0769a42a6920afca70 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 3199141b52f473199b35d8938826148a7384ce8f..6fbbbc4c8cda9934dd2b1696b572520dad6e271c 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