mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Capitalize names of PLs consistently
Author: Daniel Gustafsson <daniel@yesql.se>
This commit is contained in:
@@ -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.
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user