Обсуждение: pgsql: Add parenthesized options syntax for ANALYZE.

Поиск
Список
Период
Сортировка

pgsql: Add parenthesized options syntax for ANALYZE.

От
Andres Freund
Дата:
Add parenthesized options syntax for ANALYZE.

This is analogous to the syntax allowed for VACUUM. This allows us to
avoid making new options reserved keywords and makes it easier to
allow arbitrary argument order. Oh, and it's consistent with the other
commands, too.

Author: Nathan Bossart
Reviewed-By: Michael Paquier, Masahiko Sawada
Discussion: https://postgr.es/m/D3FC73E2-9B1A-4DB4-8180-55F57D116B4E@amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/854dd8cff523bc17972d34772b0e39ad3d6d46a4

Modified Files
--------------
doc/src/sgml/ref/analyze.sgml        | 14 +++++++++++++-
src/backend/parser/gram.y            | 17 +++++++++++++++++
src/test/regress/expected/vacuum.out |  7 +++++++
src/test/regress/sql/vacuum.sql      |  4 ++++
4 files changed, 41 insertions(+), 1 deletion(-)