aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-04-05 00:38:25 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-04-05 00:38:25 -0400
commitafd79873a0b151bfbe5312acebfe361da09c11fd (patch)
tree57955f069c92898a61b579e34f25ad0c93024d71 /src/backend
parent193f5f9e913f3ead6609cc99be82578e0dedd409 (diff)
downloadpostgresql-afd79873a0b151bfbe5312acebfe361da09c11fd.tar.gz
postgresql-afd79873a0b151bfbe5312acebfe361da09c11fd.zip
Capitalize names of PLs consistently
Author: Daniel Gustafsson <daniel@yesql.se>
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/access/transam/README.parallel2
-rw-r--r--src/backend/executor/spi.c4
-rw-r--r--src/backend/parser/gram.y6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/access/transam/README.parallel b/src/backend/access/transam/README.parallel
index db9ac3d504d..4d98f4e65d1 100644
--- a/src/backend/access/transam/README.parallel
+++ b/src/backend/access/transam/README.parallel
@@ -154,7 +154,7 @@ parallelism was started before all parallel workers have exited; and it's even
more clearly crazy for a parallel worker to try to subcommit or subabort the
current subtransaction and execute in some other transaction context than was
present in the initiating backend. It might be practical to allow internal
-sub-transactions (e.g. to implement a PL/pgsql EXCEPTION block) to be used in
+sub-transactions (e.g. to implement a PL/pgSQL EXCEPTION block) to be used in
parallel mode, provided that they are XID-less, because other backends
wouldn't really need to know about those transactions or do anything
differently because of them. Right now, we don't even allow that.
diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c
index 3a89ccd913f..ca547dc6d9b 100644
--- a/src/backend/executor/spi.c
+++ b/src/backend/executor/spi.c
@@ -1582,7 +1582,7 @@ SPI_result_code_string(int code)
* SPI_plan_get_plan_sources --- get a SPI plan's underlying list of
* CachedPlanSources.
*
- * This is exported so that pl/pgsql can use it (this beats letting pl/pgsql
+ * This is exported so that PL/pgSQL can use it (this beats letting PL/pgSQL
* look directly into the SPIPlan for itself). It's not documented in
* spi.sgml because we'd just as soon not have too many places using this.
*/
@@ -1598,7 +1598,7 @@ SPI_plan_get_plan_sources(SPIPlanPtr plan)
* if the SPI plan contains exactly one CachedPlanSource. If not,
* return NULL. Caller is responsible for doing ReleaseCachedPlan().
*
- * This is exported so that pl/pgsql can use it (this beats letting pl/pgsql
+ * This is exported so that PL/pgSQL can use it (this beats letting PL/pgSQL
* look directly into the SPIPlan for itself). It's not documented in
* spi.sgml because we'd just as soon not have too many places using this.
*/
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 9d53a29ad27..5ecb6997b3c 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -584,11 +584,11 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
/*
* Non-keyword token types. These are hard-wired into the "flex" lexer.
* They must be listed first so that their numeric codes do not depend on
- * the set of keywords. PL/pgsql depends on this so that it can share the
- * same lexer. If you add/change tokens here, fix PL/pgsql to match!
+ * the set of keywords. PL/pgSQL depends on this so that it can share the
+ * same lexer. If you add/change tokens here, fix PL/pgSQL to match!
*
* DOT_DOT is unused in the core SQL grammar, and so will always provoke
- * parse errors. It is needed by PL/pgsql.
+ * parse errors. It is needed by PL/pgSQL.
*/
%token <str> IDENT FCONST SCONST BCONST XCONST Op
%token <ival> ICONST PARAM