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

Commit 0c8ed2d

Browse files
committed
Fix inconsistent capitalization of "PL/pgSQL".
Josh Kupershmidt
1 parent 8687fbb commit 0c8ed2d

15 files changed

+37
-37
lines changed

doc/src/sgml/external-projects.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
<para>
146146
<productname>PostgreSQL</productname> includes several procedural
147147
languages with the base distribution: <link
148-
linkend="plpgsql">PL/PgSQL</link>, <link linkend="pltcl">PL/Tcl</link>,
148+
linkend="plpgsql">PL/pgSQL</link>, <link linkend="pltcl">PL/Tcl</link>,
149149
<link linkend="plperl">PL/Perl</link>, and <link
150150
linkend="plpython">PL/Python</link>.
151151
</para>

doc/src/sgml/plpgsql.sgml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1139,17 +1139,17 @@ EXECUTE 'SELECT count(*) FROM '
11391139

11401140
<indexterm>
11411141
<primary>quote_ident</primary>
1142-
<secondary>use in PL/PgSQL</secondary>
1142+
<secondary>use in PL/pgSQL</secondary>
11431143
</indexterm>
11441144

11451145
<indexterm>
11461146
<primary>quote_literal</primary>
1147-
<secondary>use in PL/PgSQL</secondary>
1147+
<secondary>use in PL/pgSQL</secondary>
11481148
</indexterm>
11491149

11501150
<indexterm>
11511151
<primary>quote_nullable</primary>
1152-
<secondary>use in PL/PgSQL</secondary>
1152+
<secondary>use in PL/pgSQL</secondary>
11531153
</indexterm>
11541154

11551155
<para>
@@ -1492,11 +1492,11 @@ RETURN <replaceable>expression</replaceable>;
14921492
<title><command>RETURN NEXT</> and <command>RETURN QUERY</command></title>
14931493
<indexterm>
14941494
<primary>RETURN NEXT</primary>
1495-
<secondary>in PL/PgSQL</secondary>
1495+
<secondary>in PL/pgSQL</secondary>
14961496
</indexterm>
14971497
<indexterm>
14981498
<primary>RETURN QUERY</primary>
1499-
<secondary>in PL/PgSQL</secondary>
1499+
<secondary>in PL/pgSQL</secondary>
15001500
</indexterm>
15011501

15021502
<synopsis>
@@ -2220,7 +2220,7 @@ END LOOP <optional> <replaceable>label</replaceable> </optional>;
22202220

22212221
<indexterm>
22222222
<primary>exceptions</primary>
2223-
<secondary>in PL/PgSQL</secondary>
2223+
<secondary>in PL/pgSQL</secondary>
22242224
</indexterm>
22252225

22262226
<para>
@@ -2898,7 +2898,7 @@ END LOOP <optional> <replaceable>label</replaceable> </optional>;
28982898

28992899
<indexterm>
29002900
<primary>reporting errors</primary>
2901-
<secondary>in PL/PgSQL</secondary>
2901+
<secondary>in PL/pgSQL</secondary>
29022902
</indexterm>
29032903

29042904
<para>

doc/src/sgml/release-7.4.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,7 @@ enabled</para></listitem>
18971897
files during postmaster startup</para></listitem>
18981898
<listitem><para>Various memory leakage fixes</para></listitem>
18991899
<listitem><para>Various portability improvements</para></listitem>
1900-
<listitem><para>Fix PL/PgSQL to handle <literal>var := var</> correctly when
1900+
<listitem><para>Fix PL/pgSQL to handle <literal>var := var</> correctly when
19011901
the variable is of pass-by-reference type</para></listitem>
19021902
<listitem><para>Update <filename>contrib/tsearch2</> to use current Snowball
19031903
code</para></listitem>

doc/src/sgml/release-8.0.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ when opening the file fails</para></listitem>
25122512
constraints more reliably</para></listitem>
25132513
<listitem><para>Fix password prompting in <application>pg_restore</> on
25142514
Windows</para></listitem>
2515-
<listitem><para>Fix PL/PgSQL to handle <literal>var := var</> correctly when
2515+
<listitem><para>Fix PL/pgSQL to handle <literal>var := var</> correctly when
25162516
the variable is of pass-by-reference type</para></listitem>
25172517
<listitem><para>Fix PL/Perl <literal>%_SHARED</> so it's actually
25182518
shared</para></listitem>

doc/src/sgml/release-8.1.sgml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@
12121212

12131213
<listitem>
12141214
<para>
1215-
Fix PL/PgSQL to not fail when a <literal>FOR</> loop's target variable
1215+
Fix PL/pgSQL to not fail when a <literal>FOR</> loop's target variable
12161216
is a record containing composite-type fields (Tom)
12171217
</para>
12181218
</listitem>
@@ -4343,7 +4343,7 @@ SELECT CURRENT_TIMESTAMP AT TIME ZONE 'Europe/London';
43434343

43444344
<listitem>
43454345
<para>
4346-
Allow SQL and PL/PgSQL functions to use <command>OUT</> and
4346+
Allow SQL and PL/pgSQL functions to use <command>OUT</> and
43474347
<command>INOUT</> parameters (Tom)
43484348
</para>
43494349
<para>
@@ -4378,12 +4378,12 @@ SELECT CURRENT_TIMESTAMP AT TIME ZONE 'Europe/London';
43784378
</sect3>
43794379

43804380
<sect3>
4381-
<title>PL/PgSQL Server-Side Language Changes</title>
4381+
<title>PL/pgSQL Server-Side Language Changes</title>
43824382
<itemizedlist>
43834383

43844384
<listitem>
43854385
<para>
4386-
Overhaul the memory management of PL/PgSQL functions (Neil)
4386+
Overhaul the memory management of PL/pgSQL functions (Neil)
43874387
</para>
43884388
<para>
43894389
The parsetree of each function is now stored in a separate
@@ -4426,7 +4426,7 @@ SELECT CURRENT_TIMESTAMP AT TIME ZONE 'Europe/London';
44264426
<listitem>
44274427
<para>
44284428
Add support for an optional <command>INTO</> clause to
4429-
PL/PgSQL's <command>EXECUTE</> statement (Pavel Stehule, Neil)
4429+
PL/pgSQL's <command>EXECUTE</> statement (Pavel Stehule, Neil)
44304430
</para>
44314431
</listitem>
44324432

doc/src/sgml/release-8.2.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,7 @@
16611661

16621662
<listitem>
16631663
<para>
1664-
Fix PL/PgSQL to not fail when a <literal>FOR</> loop's target variable
1664+
Fix PL/pgSQL to not fail when a <literal>FOR</> loop's target variable
16651665
is a record containing composite-type fields (Tom)
16661666
</para>
16671667
</listitem>
@@ -4883,7 +4883,7 @@
48834883
</sect3>
48844884

48854885
<sect3>
4886-
<title>PL/PgSQL Server-Side Language Changes</title>
4886+
<title>PL/pgSQL Server-Side Language Changes</title>
48874887
<itemizedlist>
48884888

48894889
<listitem>
@@ -5448,7 +5448,7 @@
54485448
linkend="guc-local-preload-libraries"><varname>local_preload_libraries</></link>
54495449
that allows libraries to be loaded into specific sessions without
54505450
explicit cooperation from the client application. This allows
5451-
external add-ons to implement features such as a PL/PgSQL debugger.
5451+
external add-ons to implement features such as a PL/pgSQL debugger.
54525452
</para>
54535453
</listitem>
54545454

doc/src/sgml/release-8.3.sgml

+7-7
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,7 @@
22392239

22402240
<listitem>
22412241
<para>
2242-
Fix PL/PgSQL to not fail when a <literal>FOR</> loop's target variable
2242+
Fix PL/pgSQL to not fail when a <literal>FOR</> loop's target variable
22432243
is a record containing composite-type fields (Tom)
22442244
</para>
22452245
</listitem>
@@ -3914,7 +3914,7 @@ current_date &lt; 2017-11-17
39143914
</para>
39153915

39163916
<para>
3917-
Previously PL/PgSQL functions that referenced temporary tables
3917+
Previously PL/pgSQL functions that referenced temporary tables
39183918
would fail if the temporary table was dropped and recreated
39193919
between function invocations, unless <literal>EXECUTE</> was
39203920
used. This improvement fixes that problem and many related issues.
@@ -4740,7 +4740,7 @@ current_date &lt; 2017-11-17
47404740
The first request for statistics in a transaction takes a statistics
47414741
snapshot that does not change during the transaction. This function
47424742
allows the snapshot to be discarded and a new snapshot loaded during
4743-
the next statistics query. This is particularly useful for PL/PgSQL
4743+
the next statistics query. This is particularly useful for PL/pgSQL
47444744
functions, which are confined to a single transaction.
47454745
</para>
47464746
</listitem>
@@ -4835,7 +4835,7 @@ current_date &lt; 2017-11-17
48354835
</sect3>
48364836

48374837
<sect3>
4838-
<title>PL/PgSQL Server-Side Language</title>
4838+
<title>PL/pgSQL Server-Side Language</title>
48394839
<itemizedlist>
48404840

48414841
<listitem>
@@ -4848,15 +4848,15 @@ current_date &lt; 2017-11-17
48484848
<listitem>
48494849
<para>
48504850
Allow <literal>IN</literal> as an alternative to
4851-
<literal>FROM</literal> in PL/PgSQL's <command>FETCH</command>
4851+
<literal>FROM</literal> in PL/pgSQL's <command>FETCH</command>
48524852
statement, for consistency with the backend's
48534853
<command>FETCH</command> command (Pavel Stehule)
48544854
</para>
48554855
</listitem>
48564856

48574857
<listitem>
48584858
<para>
4859-
Add <command>MOVE</command> to PL/PgSQL (Magnus, Pavel Stehule,
4859+
Add <command>MOVE</command> to PL/pgSQL (Magnus, Pavel Stehule,
48604860
Neil)
48614861
</para>
48624862
</listitem>
@@ -4867,7 +4867,7 @@ current_date &lt; 2017-11-17
48674867
</para>
48684868

48694869
<para>
4870-
This adds convenient syntax for PL/PgSQL set-returning functions
4870+
This adds convenient syntax for PL/pgSQL set-returning functions
48714871
that want to return the result of a query. <command>RETURN QUERY</>
48724872
is easier and more efficient than a loop
48734873
around <command>RETURN NEXT</command>.

doc/src/sgml/release-8.4.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2689,7 +2689,7 @@ WITH w AS (SELECT * FROM foo) SELECT * FROM w, bar ... FOR UPDATE
26892689
</para>
26902690

26912691
<para>
2692-
In particular, this means that functions written in PL/PgSQL
2692+
In particular, this means that functions written in PL/pgSQL
26932693
and other PL languages can now be called this way.
26942694
</para>
26952695
</listitem>
@@ -3815,7 +3815,7 @@ WITH w AS (SELECT * FROM foo) SELECT * FROM w, bar ... FOR UPDATE
38153815
</sect4>
38163816

38173817
<sect4>
3818-
<title>PL/PgSQL Server-Side Language</title>
3818+
<title>PL/pgSQL Server-Side Language</title>
38193819
<itemizedlist>
38203820

38213821
<listitem>

doc/src/sgml/release-9.0.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@
19481948
</itemizedlist>
19491949

19501950
<sect4>
1951-
<title><link linkend="plpgsql">PL/PgSQL</link> Server-Side
1951+
<title><link linkend="plpgsql">PL/pgSQL</link> Server-Side
19521952
Language</title>
19531953

19541954
<itemizedlist>

doc/src/sgml/release-old.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ pages</para></listitem>
692692
enabled</para></listitem>
693693
<listitem><para>Various memory leakage fixes</para></listitem>
694694
<listitem><para>Various portability improvements</para></listitem>
695-
<listitem><para>Fix PL/PgSQL to handle <literal>var := var</> correctly when
695+
<listitem><para>Fix PL/pgSQL to handle <literal>var := var</> correctly when
696696
the variable is of pass-by-reference type</para></listitem>
697697
</itemizedlist>
698698

src/pl/plpgsql/src/gram.y

+3-3
Original file line numberDiff line numberDiff line change
@@ -3058,11 +3058,11 @@ make_scalar_list1(char *initial_name,
30583058
}
30593059

30603060
/*
3061-
* When the PL/PgSQL parser expects to see a SQL statement, it is very
3061+
* When the PL/pgSQL parser expects to see a SQL statement, it is very
30623062
* liberal in what it accepts; for example, we often assume an
30633063
* unrecognized keyword is the beginning of a SQL statement. This
30643064
* avoids the need to duplicate parts of the SQL grammar in the
3065-
* PL/PgSQL grammar, but it means we can accept wildly malformed
3065+
* PL/pgSQL grammar, but it means we can accept wildly malformed
30663066
* input. To try and catch some of the more obviously invalid input,
30673067
* we run the strings we expect to be SQL statements through the main
30683068
* SQL parser.
@@ -3071,7 +3071,7 @@ make_scalar_list1(char *initial_name,
30713071
* any database access and does not check any semantic rules, it just
30723072
* checks for basic syntactic correctness. We do this here, rather
30733073
* than after parsing has finished, because a malformed SQL statement
3074-
* may cause the PL/PgSQL parser to become confused about statement
3074+
* may cause the PL/pgSQL parser to become confused about statement
30753075
* borders. So it is best to bail out as early as we can.
30763076
*
30773077
* It is assumed that "stmt" represents a copy of the function source text

src/pl/plpgsql/src/pl_comp.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ do_compile(FunctionCallInfo fcinfo,
336336
* per-function memory context, so it can be reclaimed easily.
337337
*/
338338
func_cxt = AllocSetContextCreate(TopMemoryContext,
339-
"PL/PgSQL function context",
339+
"PL/pgSQL function context",
340340
ALLOCSET_DEFAULT_MINSIZE,
341341
ALLOCSET_DEFAULT_INITSIZE,
342342
ALLOCSET_DEFAULT_MAXSIZE);
@@ -768,7 +768,7 @@ plpgsql_compile_inline(char *proc_source)
768768
* its own memory context, so it can be reclaimed easily.
769769
*/
770770
func_cxt = AllocSetContextCreate(CurrentMemoryContext,
771-
"PL/PgSQL function context",
771+
"PL/pgSQL function context",
772772
ALLOCSET_DEFAULT_MINSIZE,
773773
ALLOCSET_DEFAULT_INITSIZE,
774774
ALLOCSET_DEFAULT_MAXSIZE);

src/pl/plpgsql/src/pl_exec.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,7 @@ static int
20642064
exec_stmt_return(PLpgSQL_execstate *estate, PLpgSQL_stmt_return *stmt)
20652065
{
20662066
/*
2067-
* If processing a set-returning PL/PgSQL function, the final RETURN
2067+
* If processing a set-returning PL/pgSQL function, the final RETURN
20682068
* indicates that the function is finished producing tuples. The rest of
20692069
* the work will be done at the top level.
20702070
*/

src/test/regress/expected/plpgsql.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ insert into IFace values ('IF', 'orion', 'ethernet_interface_name_too_long', '')
15411541
ERROR: IFace slotname "IF.orion.ethernet_interface_name_too_long" too long (20 char max)
15421542
--
15431543
-- The following tests are unrelated to the scenario outlined above;
1544-
-- they merely exercise specific parts of PL/PgSQL
1544+
-- they merely exercise specific parts of PL/pgSQL
15451545
--
15461546
--
15471547
-- Test recursion, per bug report 7-Sep-01

src/test/regress/sql/plpgsql.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ insert into IFace values ('IF', 'orion', 'ethernet_interface_name_too_long', '')
14201420

14211421
--
14221422
-- The following tests are unrelated to the scenario outlined above;
1423-
-- they merely exercise specific parts of PL/PgSQL
1423+
-- they merely exercise specific parts of PL/pgSQL
14241424
--
14251425

14261426
--

0 commit comments

Comments
 (0)