pgsql: Deprecate use of GLOBAL and LOCAL in temp table creation.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Deprecate use of GLOBAL and LOCAL in temp table creation.
Дата
Msg-id E1SevQr-0001Mb-12@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Support Linux's oom_score_adj API as well as the older oom_adj A
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix description of SQL-standard meaning of CREATE LOCAL TEMP TAB