]> 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 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 3e0d7cfa01b52457a449773fb3c331f5c83b40b8..afa96ebb29c97def3e0ab0fa7ffd72e8b4d64e57 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 31458e71a89d543782b42f8e2e512c41b399aebb..760cc96e0762c7730536984df071f7be3a39fbbb 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 300dcb954d2af583ac50a58575299a55dcb80b3a..35e9826770777781977af1a264c3d79553382f89 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 66eced6c949087b4ebf68ddad66060f1ae292592..b2d330f17cfe7bfd1316d778181586c57cce8730 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