pgsql: Add parenthesized options syntax for ANALYZE.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add parenthesized options syntax for ANALYZE.
Date: 2018-03-06 01:52:51
Message-ID: E1et1md-0005gw-DQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2018-03-06 02:08:53 Re: pgsql: Clone extended stats in CREATE TABLE (LIKE INCLUDING ALL)
Previous Message Andres Freund 2018-03-06 00:58:04 Re: [COMMITTERS] pgsql: Fix inadequate locking during get_rel_oids().