From: Daniel Gustafsson =0A=
Date: Fri, 24 Mar 2017 10:30:50 +0100=0A=
Subject: [PATCH] Consistent spelling of procedural languages=0A=
=0A=
Fix spelling of procedural language names to match the most common=0A=
names in the repository: PL/pgSQL, PL/Perl, PL/Python and PL/Tcl.=0A=
---=0A=
contrib/postgres_fdw/expected/postgres_fdw.out | 2 +-=0A=
contrib/postgres_fdw/sql/postgres_fdw.sql | 2 +-=0A=
doc/src/sgml/install-windows.sgml | 2 +-=0A=
doc/src/sgml/parallel.sgml | 4 ++--=0A=
doc/src/sgml/plpgsql.sgml | 2 +-=0A=
doc/src/sgml/release-7.4.sgml | 4 ++--=0A=
doc/src/sgml/release-8.0.sgml | 8 ++++----=0A=
doc/src/sgml/release-8.1.sgml | 8 ++++----=0A=
doc/src/sgml/release-8.2.sgml | 4 ++--=0A=
doc/src/sgml/release-8.3.sgml | 4 ++--=0A=
doc/src/sgml/release-8.4.sgml | 6 +++---=0A=
doc/src/sgml/release-9.4.sgml | 2 +-=0A=
doc/src/sgml/release-old.sgml | 6 +++---=0A=
doc/src/sgml/xfunc.sgml | 2 +-=0A=
src/backend/access/transam/README.parallel | 2 +-=0A=
src/backend/executor/spi.c | 4 ++--=0A=
src/backend/parser/gram.y | 6 +++---=0A=
src/bin/initdb/initdb.c | 2 +-=0A=
src/include/parser/scanner.h | 2 +-=0A=
src/pl/plpgsql/src/Makefile | 2 +-=0A=
src/pl/plpgsql/src/pl_gram.y | 4 ++--=0A=
src/pl/tcl/Makefile | 2 +-=0A=
src/pl/tcl/pltcl.c | 2 +-=0A=
23 files changed, 41 insertions(+), 41 deletions(-)=0A=
=0A=
diff --git a/contrib/postgres_fdw/expected/postgres_fdw.out b/contrib/postg=
res_fdw/expected/postgres_fdw.out=0A=
index 059c5c3..41153f8 100644=0A=
--- a/contrib/postgres_fdw/expected/postgres_fdw.out=0A=
+++ b/contrib/postgres_fdw/expected/postgres_fdw.out=0A=
@@ -3874,7 +3874,7 @@ SELECT oid, * FROM ft_pg_type WHERE typname =3D 'int4=
';=0A=
(1 row)=0A=
=20=0A=
-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
--- used in pl/pgsql function=0A=
+-- used in PL/pgSQL function=0A=
-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
CREATE OR REPLACE FUNCTION f_test(p_c1 int) RETURNS int AS $$=0A=
DECLARE=0A=
diff --git a/contrib/postgres_fdw/sql/postgres_fdw.sql b/contrib/postgres_f=
dw/sql/postgres_fdw.sql=0A=
index 8f3edc1..41c61f0 100644=0A=
--- a/contrib/postgres_fdw/sql/postgres_fdw.sql=0A=
+++ b/contrib/postgres_fdw/sql/postgres_fdw.sql=0A=
@@ -952,7 +952,7 @@ SELECT oid, * FROM ft_pg_type WHERE typname =3D 'int4';=
=0A=
SELECT oid, * FROM ft_pg_type WHERE typname =3D 'int4';=0A=
=20=0A=
-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
--- used in pl/pgsql function=0A=
+-- used in PL/pgSQL function=0A=
-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
CREATE OR REPLACE FUNCTION f_test(p_c1 int) RETURNS int AS $$=0A=
DECLARE=0A=
diff --git a/doc/src/sgml/install-windows.sgml b/doc/src/sgml/install-windo=
ws.sgml=0A=
index ecec0a6..7a9cf7f 100644=0A=
--- a/doc/src/sgml/install-windows.sgml=0A=
+++ b/doc/src/sgml/install-windows.sgml=0A=
@@ -205,7 +205,7 @@ $ENV{MSBFLAGS}=3D"/m";=0A=
=0A=
ActiveState TCL=0A=
=0A=
- Required for building PL/TCL (Note: versi=
on=0A=
+ Required for building PL/Tcl (Note: versi=
on=0A=
8.4 is required, the free Standard Distribution is sufficient).=0A=
=0A=
=0A=
diff --git a/doc/src/sgml/parallel.sgml b/doc/src/sgml/parallel.sgml=0A=
index 2ea5c34..a651290 100644=0A=
--- a/doc/src/sgml/parallel.sgml=0A=
+++ b/doc/src/sgml/parallel.sgml=0A=
@@ -149,7 +149,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIK=
E '%x%';=0A=
which the system thinks that partial or incremental execution migh=
t=0A=
occur, no parallel plan is generated. For example, a cursor create=
d=0A=
using DECLARE CURSOR will nev=
er use=0A=
- a parallel plan. Similarly, a PL/pgsql loop of the form=0A=
+ a parallel plan. Similarly, a PL/pgSQL loop of the form=0A=
FOR x IN query LOOP .. END LOOP will never use =
a=0A=
parallel plan, because the parallel query system is unable to veri=
fy=0A=
that the code in the loop is safe to execute while parallel query =
is=0A=
@@ -478,7 +478,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIK=
E '%x%';=0A=
=0A=
Functions and aggregates must be marked PARALLEL UNSAFE> if=
=0A=
they write to the database, access sequences, change the transaction s=
tate=0A=
- even temporarily (e.g. a PL/pgsql function which establishes an=0A=
+ even temporarily (e.g. a PL/pgSQL function which establishes an=0A=
EXCEPTION> block to catch errors), or make persistent chang=
es to=0A=
settings. Similarly, functions must be marked PARALLEL=0A=
RESTRICTED> if they access temporary tables, client connection state=
,=0A=
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml=0A=
index d356deb..a6088e9 100644=0A=
--- a/doc/src/sgml/plpgsql.sgml=0A=
+++ b/doc/src/sgml/plpgsql.sgml=0A=
@@ -4851,7 +4851,7 @@ a_output :=3D a_output || $$ if v_$$ || referrer_keys=
.kind || $$ like '$$=0A=
=20=0A=
=0A=
To aid the user in finding instances of simple but common problems bef=
ore=0A=
- they cause harm, PL/PgSQL> provides additional=0A=
+ they cause harm, PL/pgSQL> provides additional=0A=
checks>. When enabled, depending on the configuration, =
they=0A=
can be used to emit either a WARNING> or an ERROR<=
/>=0A=
during the compilation of a function. A function which has received=0A=
diff --git a/doc/src/sgml/release-7.4.sgml b/doc/src/sgml/release-7.4.sgml=
=0A=
index 649c82b..b4a217a 100644=0A=
--- a/doc/src/sgml/release-7.4.sgml=0A=
+++ b/doc/src/sgml/release-7.4.sgml=0A=
@@ -242,14 +242,14 @@=0A=
=20=0A=
=0A=
=0A=
- Update pl/perl's ppport.h> for modern Perl versions=0A=
+ Update PL/Perl's ppport.h> for modern Perl versions=0A=
(Andrew)=0A=
=0A=
=0A=
=20=0A=
=0A=
=0A=
- Fix assorted memory leaks in pl/python (Andreas Freund, Tom)=0A=
+ Fix assorted memory leaks in PL/Python (Andreas Freund, Tom)=0A=
=0A=
=0A=
=20=0A=
diff --git a/doc/src/sgml/release-8.0.sgml b/doc/src/sgml/release-8.0.sgml=
=0A=
index becd509..6224187 100644=0A=
--- a/doc/src/sgml/release-8.0.sgml=0A=
+++ b/doc/src/sgml/release-8.0.sgml=0A=
@@ -312,14 +312,14 @@=0A=
=20=0A=
=0A=
=0A=
- Update pl/perl's ppport.h> for modern Perl versions=0A=
+ Update PL/Perl's ppport.h> for modern Perl versions=0A=
(Andrew)=0A=
=0A=
=0A=
=20=0A=
=0A=
=0A=
- Fix assorted memory leaks in pl/python (Andreas Freund, Tom)=0A=
+ Fix assorted memory leaks in PL/Python (Andreas Freund, Tom)=0A=
=0A=
=0A=
=20=0A=
@@ -2439,9 +2439,9 @@ when the data directory is not specified (Magnus)
=0A=
(Neil)=0A=
=20=0A=
Recover properly if error occurs during argument passing=
=0A=
-in PL/python> (Neil)=0A=
+in PL/Python> (Neil)=0A=
=20=0A=
-Fix PL/perl>'s handling of locales on=0A=
+Fix PL/Perl>'s handling of locales on=0A=
Win32 to match the backend (Andrew)=0A=
=20=0A=
Fix crash when log_min_messages> is set to=0A=
diff --git a/doc/src/sgml/release-8.1.sgml b/doc/src/sgml/release-8.1.sgml=
=0A=
index 05b07ad..49a4fe2 100644=0A=
--- a/doc/src/sgml/release-8.1.sgml=0A=
+++ b/doc/src/sgml/release-8.1.sgml=0A=
@@ -539,14 +539,14 @@=0A=
=20=0A=
=0A=
=0A=
- Update pl/perl's ppport.h> for modern Perl versions=0A=
+ Update PL/Perl's ppport.h> for modern Perl versions=0A=
(Andrew)=0A=
=0A=
=0A=
=20=0A=
=0A=
=0A=
- Fix assorted memory leaks in pl/python (Andreas Freund, Tom)=0A=
+ Fix assorted memory leaks in PL/Python (Andreas Freund, Tom)=0A=
=0A=
=0A=
=20=0A=
@@ -3089,12 +3089,12 @@ when the data directory is not specified (Magnus)<=
/para>=0A=
together in function result type declarations=0A=
=20=0A=
Recover properly if error occurs during argument passing=
=0A=
-in PL/python> (Neil)=0A=
+in PL/Python> (Neil)=0A=
=20=0A=
Fix memory leak in plperl_return_next>=0A=
(Neil)=0A=
=20=0A=
-Fix PL/perl>'s handling of locales on=0A=
+Fix PL/Perl>'s handling of locales on=0A=
Win32 to match the backend (Andrew)=0A=
=20=0A=
Various optimizer fixes (Tom)=0A=
diff --git a/doc/src/sgml/release-8.2.sgml b/doc/src/sgml/release-8.2.sgml=
=0A=
index 2d21728..acb7b81 100644=0A=
--- a/doc/src/sgml/release-8.2.sgml=0A=
+++ b/doc/src/sgml/release-8.2.sgml=0A=
@@ -1442,14 +1442,14 @@=0A=
=20=0A=
=0A=
=0A=
- Update pl/perl's ppport.h> for modern Perl versions=0A=
+ Update PL/Perl's ppport.h> for modern Perl versions=0A=
(Andrew)=0A=
=0A=
=0A=
=20=0A=
=0A=
=0A=
- Fix assorted memory leaks in pl/python (Andreas Freund, Tom)=0A=
+ Fix assorted memory leaks in PL/Python (Andreas Freund, Tom)=0A=
=0A=
=0A=
=20=0A=
diff --git a/doc/src/sgml/release-8.3.sgml b/doc/src/sgml/release-8.3.sgml=
=0A=
index b1b5d48..76ab36e 100644=0A=
--- a/doc/src/sgml/release-8.3.sgml=0A=
+++ b/doc/src/sgml/release-8.3.sgml=0A=
@@ -3022,14 +3022,14 @@=0A=
=20=0A=
=0A=
=0A=
- Update pl/perl's ppport.h> for modern Perl versions=0A=
+ Update PL/Perl's ppport.h> for modern Perl versions=0A=
(Andrew)=0A=
=0A=
=0A=
=20=0A=
=0A=
=0A=
- Fix assorted memory leaks in pl/python (Andreas Freund, Tom)=0A=
+ Fix assorted memory leaks in PL/Python (Andreas Freund, Tom)=0A=
=0A=
=0A=
=20=0A=
diff --git a/doc/src/sgml/release-8.4.sgml b/doc/src/sgml/release-8.4.sgml=
=0A=
index f43b095..dfe4787 100644=0A=
--- a/doc/src/sgml/release-8.4.sgml=0A=
+++ b/doc/src/sgml/release-8.4.sgml=0A=
@@ -5260,21 +5260,21 @@=0A=
=20=0A=
=0A=
=0A=
- Fix pl/pgsql's CASE> statement to not fail when the=0A=
+ Fix PL/pgSQL's CASE> statement to not fail when the=0A=
case expression is a query that returns no rows (Tom)=0A=
=0A=
=0A=
=20=0A=
=0A=
=0A=
- Update pl/perl's ppport.h> for modern Perl versions=0A=
+ Update PL/Perl's ppport.h> for modern Perl versions=0A=
(Andrew)=0A=
=0A=
=0A=
=20=0A=
=0A=
=0A=
- Fix assorted memory leaks in pl/python (Andreas Freund, Tom)=0A=
+ Fix assorted memory leaks in PL/Python (Andreas Freund, Tom)=0A=
=0A=
=0A=
=20=0A=
diff --git a/doc/src/sgml/release-9.4.sgml b/doc/src/sgml/release-9.4.sgml=
=0A=
index 3d5e4cf..5f0280a 100644=0A=
--- a/doc/src/sgml/release-9.4.sgml=0A=
+++ b/doc/src/sgml/release-9.4.sgml=0A=
@@ -8828,7 +8828,7 @@ Branch: REL9_4_STABLE [c2b06ab17] 2015-01-30 22:45:58=
-0500=0A=
=20=0A=
=0A=
=0A=
- Add ability to retrieve the current PL/PgSQL call stack=0A=
+ Add ability to retrieve the current PL/pgSQL call stack=0A=
using GET=0A=
DIAGNOSTICS>=0A=
(Pavel Stehule, Stephen Frost)=0A=
diff --git a/doc/src/sgml/release-old.sgml b/doc/src/sgml/release-old.sgml=
=0A=
index a862218..037b1e8 100644=0A=
--- a/doc/src/sgml/release-old.sgml=0A=
+++ b/doc/src/sgml/release-old.sgml=0A=
@@ -3145,7 +3145,7 @@ Fix rare cursor crash when using hash join (Tom)=0A=
Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi)=0A=
Fix psql crash from \l+ if MULTIBYTE enabled (Peter E)=0A=
Fix truncation of rule names during CREATE VIEW (Ross Reedstrom)=0A=
-Fix PL/perl (Alex Kapranoff)=0A=
+Fix PL/Perl (Alex Kapranoff)=0A=
Disallow LOCK on views (Mark Hollomon)=0A=
Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon)=0A=
Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon)=0A=
@@ -3171,7 +3171,7 @@ Fix OVERLAPS operators conform to SQL92 spec regardin=
g NULLs (Tom)=0A=
Fix lpad() and rpad() to handle length less than input string (Tom)=0A=
Fix use of NOTIFY in some rules (Tom)=0A=
Overhaul btree code (Tom)=0A=
-Fix NOT NULL use in Pl/pgSQL variables (Tom)=0A=
+Fix NOT NULL use in PL/pgSQL variables (Tom)=0A=
Overhaul GIST code (Oleg)=0A=
Fix CLUSTER to preserve constraints and column default (Tom)=0A=
Improved deadlock detection handling (Tom)=0A=
@@ -4341,7 +4341,7 @@ Fix for lo_import crash(Tatsuo)=0A=
Adjust handling of data type names to suppress double quotes(Thomas)=0A=
Use type coercion for matching columns and DEFAULT(Thomas)=0A=
Fix deadlock so it only checks once after one second of sleep(Bruce)=0A=
-Fixes for aggregates and PL/pgsql(Hiroshi)=0A=
+Fixes for aggregates and PL/pgSQL(Hiroshi)=0A=
Fix for subquery crash(Vadim)=0A=
Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjo=
o)=0A=
Fix for large object write-in-middle, no extra block, memory consumption(T=
atsuo)=0A=
diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml=0A=
index 94a7ad7..d4c3974 100644=0A=
--- a/doc/src/sgml/xfunc.sgml=0A=
+++ b/doc/src/sgml/xfunc.sgml=0A=
@@ -153,7 +153,7 @@ SELECT clean_emp();=0A=
CREATE TABLE foo (...); INSERT INTO foo VALUES(...);=0A=
will not work as desired if packaged up into a single SQL function,=
=0A=
since foo> won't exist yet when the INSERT>=
=0A=
- command is parsed. It's recommended to use PL/PgSQL>=
=0A=
+ command is parsed. It's recommended to use PL/pgSQL>=
=0A=
instead of a SQL function in this type of situation.=0A=
=0A=
=0A=
diff --git a/src/backend/access/transam/README.parallel b/src/backend/acces=
s/transam/README.parallel=0A=
index db9ac3d..4d98f4e 100644=0A=
--- a/src/backend/access/transam/README.parallel=0A=
+++ b/src/backend/access/transam/README.parallel=0A=
@@ -154,7 +154,7 @@ parallelism was started before all parallel workers hav=
e exited; and it's even=0A=
more clearly crazy for a parallel worker to try to subcommit or subabort t=
he=0A=
current subtransaction and execute in some other transaction context than =
was=0A=
present in the initiating backend. It might be practical to allow interna=
l=0A=
-sub-transactions (e.g. to implement a PL/pgsql EXCEPTION block) to be used=
in=0A=
+sub-transactions (e.g. to implement a PL/pgSQL EXCEPTION block) to be used=
in=0A=
parallel mode, provided that they are XID-less, because other backends=0A=
wouldn't really need to know about those transactions or do anything=0A=
differently because of them. Right now, we don't even allow that.=0A=
diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c=0A=
index 72c7b4d..09f6702 100644=0A=
--- a/src/backend/executor/spi.c=0A=
+++ b/src/backend/executor/spi.c=0A=
@@ -1570,7 +1570,7 @@ SPI_result_code_string(int code)=0A=
* SPI_plan_get_plan_sources --- get a SPI plan's underlying list of=0A=
* CachedPlanSources.=0A=
*=0A=
- * This is exported so that pl/pgsql can use it (this beats letting pl/pgs=
ql=0A=
+ * This is exported so that PL/pgSQL can use it (this beats letting PL/pgS=
QL=0A=
* look directly into the SPIPlan for itself). It's not documented in=0A=
* spi.sgml because we'd just as soon not have too many places using this.=
=0A=
*/=0A=
@@ -1586,7 +1586,7 @@ SPI_plan_get_plan_sources(SPIPlanPtr plan)=0A=
* if the SPI plan contains exactly one CachedPlanSource. If not,=0A=
* return NULL. Caller is responsible for doing ReleaseCachedPlan().=0A=
*=0A=
- * This is exported so that pl/pgsql can use it (this beats letting pl/pgs=
ql=0A=
+ * This is exported so that PL/pgSQL can use it (this beats letting PL/pgS=
QL=0A=
* look directly into the SPIPlan for itself). It's not documented in=0A=
* spi.sgml because we'd just as soon not have too many places using this.=
=0A=
*/=0A=
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y=0A=
index 82844a0..342a43d 100644=0A=
--- a/src/backend/parser/gram.y=0A=
+++ b/src/backend/parser/gram.y=0A=
@@ -584,11 +584,11 @@ static Node *makeRecursiveViewSelect(char *relname, L=
ist *aliases, Node *query);=0A=
/*=0A=
* Non-keyword token types. These are hard-wired into the "flex" lexer.=
=0A=
* They must be listed first so that their numeric codes do not depend on=
=0A=
- * the set of keywords. PL/pgsql depends on this so that it can share the=
=0A=
- * same lexer. If you add/change tokens here, fix PL/pgsql to match!=0A=
+ * the set of keywords. PL/pgSQL depends on this so that it can share the=
=0A=
+ * same lexer. If you add/change tokens here, fix PL/pgSQL to match!=0A=
*=0A=
* DOT_DOT is unused in the core SQL grammar, and so will always provoke=
=0A=
- * parse errors. It is needed by PL/pgsql.=0A=
+ * parse errors. It is needed by PL/pgSQL.=0A=
*/=0A=
%token IDENT FCONST SCONST BCONST XCONST Op=0A=
%token ICONST PARAM=0A=
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c=0A=
index 8dde1e8..d40ed41 100644=0A=
--- a/src/bin/initdb/initdb.c=0A=
+++ b/src/bin/initdb/initdb.c=0A=
@@ -1898,7 +1898,7 @@ setup_schema(FILE *cmdfd)=0A=
}=0A=
=20=0A=
/*=0A=
- * load PL/pgsql server-side language=0A=
+ * load PL/pgSQL server-side language=0A=
*/=0A=
static void=0A=
load_plpgsql(FILE *cmdfd)=0A=
diff --git a/src/include/parser/scanner.h b/src/include/parser/scanner.h=0A=
index 7ca924c..74f1cc8 100644=0A=
--- a/src/include/parser/scanner.h=0A=
+++ b/src/include/parser/scanner.h=0A=
@@ -3,7 +3,7 @@=0A=
* scanner.h=0A=
* API for the core scanner (flex machine)=0A=
*=0A=
- * The core scanner is also used by PL/pgsql, so we provide a public API=
=0A=
+ * The core scanner is also used by PL/pgSQL, so we provide a public API=
=0A=
* for it. However, the rest of the backend is only expected to use the=
=0A=
* higher-level API provided by parser.h.=0A=
*=0A=
diff --git a/src/pl/plpgsql/src/Makefile b/src/pl/plpgsql/src/Makefile=0A=
index e073b2a..9534817 100644=0A=
--- a/src/pl/plpgsql/src/Makefile=0A=
+++ b/src/pl/plpgsql/src/Makefile=0A=
@@ -1,6 +1,6 @@=0A=
#-------------------------------------------------------------------------=
=0A=
#=0A=
-# Makefile for the pl/pgsql procedural language=0A=
+# Makefile for the PL/pgSQL procedural language=0A=
#=0A=
# src/pl/plpgsql/src/Makefile=0A=
#=0A=
diff --git a/src/pl/plpgsql/src/pl_gram.y b/src/pl/plpgsql/src/pl_gram.y=0A=
index 29729df..94f1f58 100644=0A=
--- a/src/pl/plpgsql/src/pl_gram.y=0A=
+++ b/src/pl/plpgsql/src/pl_gram.y=0A=
@@ -2862,11 +2862,11 @@ make_execsql_stmt(int firsttoken, int location)=0A=
* clause lurking within it, and parse that via read_into_target().=0A=
*=0A=
* Because INTO is sometimes used in the main SQL grammar, we have to be=
=0A=
- * careful not to take any such usage of INTO as a pl/pgsql INTO clause.=
=0A=
+ * careful not to take any such usage of INTO as a PL/pgSQL INTO clause.=
=0A=
* There are currently three such cases:=0A=
*=0A=
* 1. SELECT ... INTO. We don't care, we just override that with the=0A=
- * pl/pgsql definition.=0A=
+ * PL/pgSQL definition.=0A=
*=0A=
* 2. INSERT INTO. This is relatively easy to recognize since the words=
=0A=
* must appear adjacently; but we can't assume INSERT starts the command,=
=0A=
diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile=0A=
index 0275c125..b8971d3 100644=0A=
--- a/src/pl/tcl/Makefile=0A=
+++ b/src/pl/tcl/Makefile=0A=
@@ -1,6 +1,6 @@=0A=
#-------------------------------------------------------------------------=
=0A=
#=0A=
-# Makefile for the pl/tcl procedural language=0A=
+# Makefile for the PL/Tcl procedural language=0A=
#=0A=
# src/pl/tcl/Makefile=0A=
#=0A=
diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c=0A=
index b8fcf06..702b1a8 100644=0A=
--- a/src/pl/tcl/pltcl.c=0A=
+++ b/src/pl/tcl/pltcl.c=0A=
@@ -2530,7 +2530,7 @@ pltcl_SPI_prepare(ClientData cdata, Tcl_Interp *inter=
p,=0A=
* occur. FIXME someday.=0A=
************************************************************/=0A=
plan_cxt =3D AllocSetContextCreate(TopMemoryContext,=0A=
- "PL/TCL spi_prepare query",=0A=
+ "PL/Tcl spi_prepare query",=0A=
ALLOCSET_SMALL_SIZES);=0A=
MemoryContextSwitchTo(plan_cxt);=0A=
qdesc =3D (pltcl_query_desc *) palloc0(sizeof(pltcl_query_desc));=0A=
--=20=0A=
2.6.4 (Apple Git-63)=0A=
=0A=
--Apple-Mail=_9ED57A1D-C6D5-41CF-8E45-F8D1AEB9D5CC
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
--Apple-Mail=_9ED57A1D-C6D5-41CF-8E45-F8D1AEB9D5CC--