pgsql: Deprecate use of GLOBAL and LOCAL in temp table creation. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Deprecate use of GLOBAL and LOCAL in temp table creation.
Date
Msg-id E1SevQr-0001Mb-12@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Deprecate use of GLOBAL and LOCAL in temp table creation.

Aside from adjusting the documentation to say that these are deprecated,
we now report a warning (not an error) for use of GLOBAL, since it seems
fairly likely that we might change that to request SQL-spec-compliant temp
table behavior in the foreseeable future.  Although our handling of LOCAL
is equally nonstandard, there is no evident interest in ever implementing
SQL modules, and furthermore some other products interpret LOCAL as
behaving the same way we do.  So no expectation of change and no warning
for LOCAL; but it still seems a good idea to deprecate writing it.

Noah Misch

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c3bc76bdb0ac600e6b4d1e594e1a077c1efc5154

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml    |   20 ++++++++++++++------
doc/src/sgml/ref/create_table_as.sgml |    5 ++---
src/backend/parser/gram.y             |   30 ++++++++++++++++++++++++++----
3 files changed, 42 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Support Linux's oom_score_adj API as well as the older oom_adj A
Next
From: Tom Lane
Date:
Subject: pgsql: Fix description of SQL-standard meaning of CREATE LOCAL TEMP TAB