pgsql: Make the name optional in CREATE STATISTICS.

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема pgsql: Make the name optional in CREATE STATISTICS.
Дата
Msg-id E1oEarD-000c5h-CY@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make the name optional in CREATE STATISTICS.

This allows users to omit the statistics name in a CREATE STATISTICS
command, letting the system auto-generate a sensible, unique name,
putting the statistics object in the same schema as the table.

Simon Riggs, reviewed by Matthias van de Meent.

Discussion: https://postgr.es/m/CANbhV-FGD2d_C3zFTfT2aRfX_TaPSgOeKES58RLZx5XzQp5NhA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/624aa2a13bd02dd584bb0995c883b5b93b2152df

Modified Files
--------------
doc/src/sgml/ref/create_statistics.sgml | 12 +++--
src/backend/commands/statscmds.c        |  7 ++-
src/backend/parser/gram.y               | 13 +++--
src/test/regress/expected/stats_ext.out | 87 +++++++++++++++++++--------------
src/test/regress/sql/stats_ext.sql      | 20 +++++---
5 files changed, 86 insertions(+), 53 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: clarify that auth. names are lower case and case-sensitive
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: use wording "restore" instead of "reload" of dumps