aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-12-23 09:37:38 -0500
committerBruce Momjian <bruce@momjian.us>2020-12-23 09:37:38 -0500
commit8985e021df36d9d65183c8349351464addab4536 (patch)
tree9d627dbbb2b0a9f74cc2e936a90a070ef4be7591
parent67a9411d2fcaffee2e7e0f3e384d13c406d5115e (diff)
downloadpostgresql-8985e021df36d9d65183c8349351464addab4536.tar.gz
postgresql-8985e021df36d9d65183c8349351464addab4536.zip
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
-rw-r--r--doc/src/sgml/plperl.sgml4
-rw-r--r--doc/src/sgml/plpgsql.sgml4
-rw-r--r--doc/src/sgml/plpython.sgml2
-rw-r--r--doc/src/sgml/pltcl.sgml2
-rw-r--r--doc/src/sgml/spi.sgml2
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 @@
<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.
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 3e0d7cfa01b..afa96ebb29c 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -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>
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml
index 31458e71a89..760cc96e076 100644
--- a/doc/src/sgml/plpython.sgml
+++ b/doc/src/sgml/plpython.sgml
@@ -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>
diff --git a/doc/src/sgml/pltcl.sgml b/doc/src/sgml/pltcl.sgml
index 300dcb954d2..35e98267707 100644
--- a/doc/src/sgml/pltcl.sgml
+++ b/doc/src/sgml/pltcl.sgml
@@ -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 **** -->
diff --git a/doc/src/sgml/spi.sgml b/doc/src/sgml/spi.sgml
index 66eced6c949..b2d330f17cf 100644
--- a/doc/src/sgml/spi.sgml
+++ b/doc/src/sgml/spi.sgml
@@ -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