Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitafd7987

Browse files
committed
Capitalize names of PLs consistently
Author: Daniel Gustafsson <daniel@yesql.se>
1 parent193f5f9 commitafd7987

File tree

23 files changed

+41
-41
lines changed

23 files changed

+41
-41
lines changed

‎contrib/postgres_fdw/expected/postgres_fdw.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3879,7 +3879,7 @@ SELECT oid, * FROM ft_pg_type WHERE typname = 'int4';
38793879
(1 row)
38803880

38813881
-- ===================================================================
3882-
-- used inpl/pgsql function
3882+
-- used inPL/pgSQL function
38833883
-- ===================================================================
38843884
CREATE OR REPLACE FUNCTION f_test(p_c1 int) RETURNS int AS $$
38853885
DECLARE

‎contrib/postgres_fdw/sql/postgres_fdw.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ SELECT oid, * FROM ft_pg_type WHERE typname = 'int4';
952952
SELECToid,*FROM ft_pg_typeWHERE typname='int4';
953953

954954
-- ===================================================================
955-
-- used inpl/pgsql function
955+
-- used inPL/pgSQL function
956956
-- ===================================================================
957957
CREATE OR REPLACEFUNCTIONf_test(p_c1int) RETURNSintAS $$
958958
DECLARE

‎doc/src/sgml/install-windows.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ $ENV{MSBFLAGS}="/m";
205205
<varlistentry>
206206
<term><productname>ActiveState TCL</productname></term>
207207
<listitem><para>
208-
Required for building <application>PL/TCL</application> (Note: version
208+
Required for building <application>PL/Tcl</application> (Note: version
209209
8.4 is required, the free Standard Distribution is sufficient).
210210
</para></listitem>
211211
</varlistentry>

‎doc/src/sgml/parallel.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
149149
which the system thinks that partial or incremental execution might
150150
occur, no parallel plan is generated. For example, a cursor created
151151
using <link linkend="sql-declare">DECLARE CURSOR</link> will never use
152-
a parallel plan. Similarly, a PL/pgsql loop of the form
152+
a parallel plan. Similarly, a PL/pgSQL loop of the form
153153
<literal>FOR x IN query LOOP .. END LOOP</literal> will never use a
154154
parallel plan, because the parallel query system is unable to verify
155155
that the code in the loop is safe to execute while parallel query is
@@ -478,7 +478,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
478478
<para>
479479
Functions and aggregates must be marked <literal>PARALLEL UNSAFE</> if
480480
they write to the database, access sequences, change the transaction state
481-
even temporarily (e.g. a PL/pgsql function which establishes an
481+
even temporarily (e.g. a PL/pgSQL function which establishes an
482482
<literal>EXCEPTION</> block to catch errors), or make persistent changes to
483483
settings. Similarly, functions must be marked <literal>PARALLEL
484484
RESTRICTED</> if they access temporary tables, client connection state,

‎doc/src/sgml/plpgsql.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4851,7 +4851,7 @@ a_output := a_output || $$ if v_$$ || referrer_keys.kind || $$ like '$$
48514851

48524852
<para>
48534853
To aid the user in finding instances of simple but common problems before
4854-
they cause harm, <application>PL/PgSQL</> provides additional
4854+
they cause harm, <application>PL/pgSQL</> provides additional
48554855
<replaceable>checks</>. When enabled, depending on the configuration, they
48564856
can be used to emit either a <literal>WARNING</> or an <literal>ERROR</>
48574857
during the compilation of a function. A function which has received

‎doc/src/sgml/release-7.4.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,14 +242,14 @@
242242

243243
<listitem>
244244
<para>
245-
Updatepl/perl's <filename>ppport.h</> for modern Perl versions
245+
UpdatePL/Perl's <filename>ppport.h</> for modern Perl versions
246246
(Andrew)
247247
</para>
248248
</listitem>
249249

250250
<listitem>
251251
<para>
252-
Fix assorted memory leaks inpl/python (Andreas Freund, Tom)
252+
Fix assorted memory leaks inPL/Python (Andreas Freund, Tom)
253253
</para>
254254
</listitem>
255255

‎doc/src/sgml/release-8.0.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,14 @@
312312

313313
<listitem>
314314
<para>
315-
Updatepl/perl's <filename>ppport.h</> for modern Perl versions
315+
UpdatePL/Perl's <filename>ppport.h</> for modern Perl versions
316316
(Andrew)
317317
</para>
318318
</listitem>
319319

320320
<listitem>
321321
<para>
322-
Fix assorted memory leaks inpl/python (Andreas Freund, Tom)
322+
Fix assorted memory leaks inPL/Python (Andreas Freund, Tom)
323323
</para>
324324
</listitem>
325325

@@ -2439,9 +2439,9 @@ when the data directory is not specified (Magnus)</para></listitem>
24392439
(Neil)</para></listitem>
24402440

24412441
<listitem><para>Recover properly if error occurs during argument passing
2442-
in <application>PL/python</> (Neil)</para></listitem>
2442+
in <application>PL/Python</> (Neil)</para></listitem>
24432443

2444-
<listitem><para>Fix <application>PL/perl</>'s handling of locales on
2444+
<listitem><para>Fix <application>PL/Perl</>'s handling of locales on
24452445
Win32 to match the backend (Andrew)</para></listitem>
24462446

24472447
<listitem><para>Fix crash when <literal>log_min_messages</> is set to

‎doc/src/sgml/release-8.1.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,14 +539,14 @@
539539

540540
<listitem>
541541
<para>
542-
Updatepl/perl's <filename>ppport.h</> for modern Perl versions
542+
UpdatePL/Perl's <filename>ppport.h</> for modern Perl versions
543543
(Andrew)
544544
</para>
545545
</listitem>
546546

547547
<listitem>
548548
<para>
549-
Fix assorted memory leaks inpl/python (Andreas Freund, Tom)
549+
Fix assorted memory leaks inPL/Python (Andreas Freund, Tom)
550550
</para>
551551
</listitem>
552552

@@ -3089,12 +3089,12 @@ when the data directory is not specified (Magnus)</para></listitem>
30893089
together in function result type declarations</para></listitem>
30903090

30913091
<listitem><para>Recover properly if error occurs during argument passing
3092-
in <application>PL/python</> (Neil)</para></listitem>
3092+
in <application>PL/Python</> (Neil)</para></listitem>
30933093

30943094
<listitem><para>Fix memory leak in <function>plperl_return_next</>
30953095
(Neil)</para></listitem>
30963096

3097-
<listitem><para>Fix <application>PL/perl</>'s handling of locales on
3097+
<listitem><para>Fix <application>PL/Perl</>'s handling of locales on
30983098
Win32 to match the backend (Andrew)</para></listitem>
30993099

31003100
<listitem><para>Various optimizer fixes (Tom)</para></listitem>

‎doc/src/sgml/release-8.2.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,14 +1442,14 @@
14421442

14431443
<listitem>
14441444
<para>
1445-
Updatepl/perl's <filename>ppport.h</> for modern Perl versions
1445+
UpdatePL/Perl's <filename>ppport.h</> for modern Perl versions
14461446
(Andrew)
14471447
</para>
14481448
</listitem>
14491449

14501450
<listitem>
14511451
<para>
1452-
Fix assorted memory leaks inpl/python (Andreas Freund, Tom)
1452+
Fix assorted memory leaks inPL/Python (Andreas Freund, Tom)
14531453
</para>
14541454
</listitem>
14551455

‎doc/src/sgml/release-8.3.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,14 +3022,14 @@
30223022

30233023
<listitem>
30243024
<para>
3025-
Updatepl/perl's <filename>ppport.h</> for modern Perl versions
3025+
UpdatePL/Perl's <filename>ppport.h</> for modern Perl versions
30263026
(Andrew)
30273027
</para>
30283028
</listitem>
30293029

30303030
<listitem>
30313031
<para>
3032-
Fix assorted memory leaks inpl/python (Andreas Freund, Tom)
3032+
Fix assorted memory leaks inPL/Python (Andreas Freund, Tom)
30333033
</para>
30343034
</listitem>
30353035

‎doc/src/sgml/release-8.4.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5260,21 +5260,21 @@
52605260

52615261
<listitem>
52625262
<para>
5263-
Fixpl/pgsql's <literal>CASE</> statement to not fail when the
5263+
FixPL/pgSQL's <literal>CASE</> statement to not fail when the
52645264
case expression is a query that returns no rows (Tom)
52655265
</para>
52665266
</listitem>
52675267

52685268
<listitem>
52695269
<para>
5270-
Updatepl/perl's <filename>ppport.h</> for modern Perl versions
5270+
UpdatePL/Perl's <filename>ppport.h</> for modern Perl versions
52715271
(Andrew)
52725272
</para>
52735273
</listitem>
52745274

52755275
<listitem>
52765276
<para>
5277-
Fix assorted memory leaks inpl/python (Andreas Freund, Tom)
5277+
Fix assorted memory leaks inPL/Python (Andreas Freund, Tom)
52785278
</para>
52795279
</listitem>
52805280

‎doc/src/sgml/release-9.4.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8828,7 +8828,7 @@ Branch: REL9_4_STABLE [c2b06ab17] 2015-01-30 22:45:58 -0500
88288828

88298829
<listitem>
88308830
<para>
8831-
Add ability to retrieve the current PL/PgSQL call stack
8831+
Add ability to retrieve the current PL/pgSQL call stack
88328832
using <link linkend="plpgsql-call-stack"><command>GET
88338833
DIAGNOSTICS</></link>
88348834
(Pavel Stehule, Stephen Frost)

‎doc/src/sgml/release-old.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3145,7 +3145,7 @@ Fix rare cursor crash when using hash join (Tom)
31453145
Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi)
31463146
Fix psql crash from \l+ if MULTIBYTE enabled (Peter E)
31473147
Fix truncation of rule names during CREATE VIEW (Ross Reedstrom)
3148-
Fix PL/perl (Alex Kapranoff)
3148+
Fix PL/Perl (Alex Kapranoff)
31493149
Disallow LOCK on views (Mark Hollomon)
31503150
Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon)
31513151
Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon)
@@ -3171,7 +3171,7 @@ Fix OVERLAPS operators conform to SQL92 spec regarding NULLs (Tom)
31713171
Fix lpad() and rpad() to handle length less than input string (Tom)
31723172
Fix use of NOTIFY in some rules (Tom)
31733173
Overhaul btree code (Tom)
3174-
Fix NOT NULL use inPl/pgSQL variables (Tom)
3174+
Fix NOT NULL use inPL/pgSQL variables (Tom)
31753175
Overhaul GIST code (Oleg)
31763176
Fix CLUSTER to preserve constraints and column default (Tom)
31773177
Improved deadlock detection handling (Tom)
@@ -4341,7 +4341,7 @@ Fix for lo_import crash(Tatsuo)
43414341
Adjust handling of data type names to suppress double quotes(Thomas)
43424342
Use type coercion for matching columns and DEFAULT(Thomas)
43434343
Fix deadlock so it only checks once after one second of sleep(Bruce)
4344-
Fixes for aggregates and PL/pgsql(Hiroshi)
4344+
Fixes for aggregates and PL/pgSQL(Hiroshi)
43454345
Fix for subquery crash(Vadim)
43464346
Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo)
43474347
Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo)

‎doc/src/sgml/xfunc.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ SELECT clean_emp();
153153
<literal>CREATE TABLE foo (...); INSERT INTO foo VALUES(...);</literal>
154154
will not work as desired if packaged up into a single SQL function,
155155
since <structname>foo</> won't exist yet when the <command>INSERT</>
156-
command is parsed. It's recommended to use <application>PL/PgSQL</>
156+
command is parsed. It's recommended to use <application>PL/pgSQL</>
157157
instead of a SQL function in this type of situation.
158158
</para>
159159
</note>

‎src/backend/access/transam/README.parallel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ parallelism was started before all parallel workers have exited; and it's even
154154
more clearly crazy for a parallel worker to try to subcommit or subabort the
155155
current subtransaction and execute in some other transaction context than was
156156
present in the initiating backend. It might be practical to allow internal
157-
sub-transactions (e.g. to implement a PL/pgsql EXCEPTION block) to be used in
157+
sub-transactions (e.g. to implement a PL/pgSQL EXCEPTION block) to be used in
158158
parallel mode, provided that they are XID-less, because other backends
159159
wouldn't really need to know about those transactions or do anything
160160
differently because of them. Right now, we don't even allow that.

‎src/backend/executor/spi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ SPI_result_code_string(int code)
15821582
* SPI_plan_get_plan_sources --- get a SPI plan's underlying list of
15831583
* CachedPlanSources.
15841584
*
1585-
* This is exported so thatpl/pgsql can use it (this beats lettingpl/pgsql
1585+
* This is exported so thatPL/pgSQL can use it (this beats lettingPL/pgSQL
15861586
* look directly into the SPIPlan for itself). It's not documented in
15871587
* spi.sgml because we'd just as soon not have too many places using this.
15881588
*/
@@ -1598,7 +1598,7 @@ SPI_plan_get_plan_sources(SPIPlanPtr plan)
15981598
* if the SPI plan contains exactly one CachedPlanSource. If not,
15991599
* return NULL. Caller is responsible for doing ReleaseCachedPlan().
16001600
*
1601-
* This is exported so thatpl/pgsql can use it (this beats lettingpl/pgsql
1601+
* This is exported so thatPL/pgSQL can use it (this beats lettingPL/pgSQL
16021602
* look directly into the SPIPlan for itself). It's not documented in
16031603
* spi.sgml because we'd just as soon not have too many places using this.
16041604
*/

‎src/backend/parser/gram.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -584,11 +584,11 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
584584
/*
585585
* Non-keyword token types. These are hard-wired into the "flex" lexer.
586586
* They must be listed first so that their numeric codes do not depend on
587-
* the set of keywords. PL/pgsql depends on this so that it can share the
588-
* same lexer. If you add/change tokens here, fix PL/pgsql to match!
587+
* the set of keywords. PL/pgSQL depends on this so that it can share the
588+
* same lexer. If you add/change tokens here, fix PL/pgSQL to match!
589589
*
590590
* DOT_DOT is unused in the core SQL grammar, and so will always provoke
591-
* parse errors. It is needed by PL/pgsql.
591+
* parse errors. It is needed by PL/pgSQL.
592592
*/
593593
%token<str>IDENTFCONSTSCONSTBCONSTXCONSTOp
594594
%token<ival>ICONSTPARAM

‎src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,7 @@ setup_schema(FILE *cmdfd)
18981898
}
18991899

19001900
/*
1901-
* load PL/pgsql server-side language
1901+
* load PL/pgSQL server-side language
19021902
*/
19031903
staticvoid
19041904
load_plpgsql(FILE*cmdfd)

‎src/include/parser/scanner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* scanner.h
44
*API for the core scanner (flex machine)
55
*
6-
* The core scanner is also used by PL/pgsql, so we provide a public API
6+
* The core scanner is also used by PL/pgSQL, so we provide a public API
77
* for it. However, the rest of the backend is only expected to use the
88
* higher-level API provided by parser.h.
99
*

‎src/pl/plpgsql/src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#-------------------------------------------------------------------------
22
#
3-
# Makefile for thepl/pgsql procedural language
3+
# Makefile for thePL/pgSQL procedural language
44
#
55
# src/pl/plpgsql/src/Makefile
66
#

‎src/pl/plpgsql/src/pl_gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2862,11 +2862,11 @@ make_execsql_stmt(int firsttoken, int location)
28622862
* clause lurking within it, and parse that via read_into_target().
28632863
*
28642864
* Because INTO is sometimes used in the main SQL grammar, we have to be
2865-
* careful not to take any such usage of INTO as apl/pgsql INTO clause.
2865+
* careful not to take any such usage of INTO as aPL/pgSQL INTO clause.
28662866
* There are currently three such cases:
28672867
*
28682868
* 1. SELECT ... INTO. We don't care, we just override that with the
2869-
*pl/pgsql definition.
2869+
*PL/pgSQL definition.
28702870
*
28712871
* 2. INSERT INTO. This is relatively easy to recognize since the words
28722872
* must appear adjacently; but we can't assume INSERT starts the command,

‎src/pl/tcl/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#-------------------------------------------------------------------------
22
#
3-
# Makefile for thepl/tcl procedural language
3+
# Makefile for thePL/Tcl procedural language
44
#
55
# src/pl/tcl/Makefile
66
#

‎src/pl/tcl/pltcl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2535,7 +2535,7 @@ pltcl_SPI_prepare(ClientData cdata, Tcl_Interp *interp,
25352535
* occur. FIXME someday.
25362536
************************************************************/
25372537
plan_cxt=AllocSetContextCreate(TopMemoryContext,
2538-
"PL/TCL spi_prepare query",
2538+
"PL/Tcl spi_prepare query",
25392539
ALLOCSET_SMALL_SIZES);
25402540
MemoryContextSwitchTo(plan_cxt);
25412541
qdesc= (pltcl_query_desc*)palloc0(sizeof(pltcl_query_desc));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp