pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Support parenthesized syntax for CLUSTER without a table name.
Date: Wed, 19 Jul 2023 22:29:03 +0000
Message-ID: <E1qMFfK-000LYo-QT@gemulon.postgresql.org> (raw)

Support parenthesized syntax for CLUSTER without a table name.

b5913f6120 added a parenthesized syntax for CLUSTER, but it
requires specifying a table name.  This is unlike commands such as
VACUUM and ANALYZE, which do not require specifying a table in the
parenthesized syntax.  This change resolves this inconsistency.
This is preparatory work for a follow-up commit that will move the
unparenthesized syntax to the "Compatibility" section of the
CLUSTER documentation.

Reviewed-by: Melanie Plageman, Michael Paquier
Discussion: https://postgr.es/m/CAAKRu_bc5uHieG1976kGqJKxyWtyQt9yvktjsVX%2Bi7NOigDjOA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cdaedfc96d1488069518d42479125ceb9a5e67d0

Modified Files
--------------
doc/src/sgml/ref/cluster.sgml |  2 +-
src/backend/parser/gram.y     | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)



Message-ID: <E1qMFfK-000LYo-QT@gemulon.postgresql.org>
Permalink:  ../E1qMFfK-000LYo-QT@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qMFfK-000LYo-QT@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Support parenthesized syntax for CLUSTER without a table name.
  In-Reply-To: <E1qMFfK-000LYo-QT@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox