Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d420ae7

Browse files
committed
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
1 parent 1e54664 commit d420ae7

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

doc/src/sgml/plperl.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414
<para>
1515
PL/Perl is a loadable procedural language that enables you to write
16-
<productname>PostgreSQL</productname> functions in the
16+
<productname>PostgreSQL</productname> functions and procedures in the
1717
<ulink url="https://www.perl.org">Perl programming language</ulink>.
1818
</para>
1919

2020
<para>
2121
The main advantage to using PL/Perl is that this allows use,
22-
within stored functions, of the manyfold <quote>string
22+
within stored functions and procedures, of the manyfold <quote>string
2323
munging</quote> operators and functions available for Perl. Parsing
2424
complex strings might be easier using Perl than it is with the
2525
string functions and control structures provided in PL/pgSQL.

doc/src/sgml/plpgsql.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<itemizedlist>
2020
<listitem>
2121
<para>
22-
can be used to create functions and triggers,
22+
can be used to create functions, procedures, and triggers,
2323
</para>
2424
</listitem>
2525
<listitem>
@@ -34,7 +34,7 @@
3434
</listitem>
3535
<listitem>
3636
<para>
37-
inherits all user-defined types, functions, and operators,
37+
inherits all user-defined types, functions, procedures, and operators,
3838
</para>
3939
</listitem>
4040
<listitem>

doc/src/sgml/plpython.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<para>
1010
The <application>PL/Python</application> procedural language allows
11-
<productname>PostgreSQL</productname> functions to be written in the
11+
<productname>PostgreSQL</productname> functions and procedures to be written in the
1212
<ulink url="https://www.python.org">Python language</ulink>.
1313
</para>
1414

doc/src/sgml/pltcl.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<productname>PostgreSQL</productname> database system
1717
that enables the <ulink url="https://www.tcl.tk/">
1818
Tcl language</ulink> to be used to write
19-
<productname>PostgreSQL</productname> functions.
19+
<productname>PostgreSQL</productname> functions and procedures.
2020
</para>
2121

2222
<!-- **** PL/Tcl overview **** -->

doc/src/sgml/spi.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
The <firstterm>Server Programming Interface</firstterm>
1212
(<acronym>SPI</acronym>) gives writers of user-defined
1313
<acronym>C</acronym> functions the ability to run
14-
<acronym>SQL</acronym> commands inside their functions.
14+
<acronym>SQL</acronym> commands inside their functions or procedures.
1515
<acronym>SPI</acronym> is a set of
1616
interface functions to simplify access to the parser, planner,
1717
and executor. <acronym>SPI</acronym> also does some

0 commit comments

Comments
 (0)