From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Support VERBOSE option in REINDEX command.
Date: Fri, 15 May 2015 11:11:22 +0000
Message-ID: <E1YtDWU-0002Lb-DV@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Support VERBOSE option in REINDEX command.
When this option is specified, a progress report is printed as each index
is reindexed.
Per discussion, we agreed on the following syntax for the extensibility of
the options.
REINDEX (flexible options) { INDEX | ... } name
Sawada Masahiko.
Reviewed by Robert Haas, FabrÃzio Mello, Alvaro Herrera, Kyotaro Horiguchi,
Jim Nasby and me.
Discussion: CAD21AoA0pK3YcOZAFzMae+2fcc3oGp5zoRggDyMNg5zoaWDhdQ@mail.gmail.com
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/ecd222e770d352121590363ffdf981147a43e976
Modified Files
--------------
doc/src/sgml/ref/reindex.sgml | 11 +++++-
src/backend/catalog/index.c | 21 ++++++++--
src/backend/commands/cluster.c | 2 +-
src/backend/commands/indexcmds.c | 25 +++++++-----
src/backend/commands/tablecmds.c | 2 +-
src/backend/nodes/copyfuncs.c | 1 +
src/backend/nodes/equalfuncs.c | 1 +
src/backend/parser/gram.y | 57 ++++++++++++++++++----------
src/backend/tcop/utility.c | 6 +--
src/include/catalog/index.h | 4 +-
src/include/commands/defrem.h | 7 ++--
src/include/nodes/parsenodes.h | 5 +++
src/test/regress/expected/create_index.out | 8 ++++
src/test/regress/sql/create_index.sql | 8 ++++
14 files changed, 112 insertions(+), 46 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: fujii@postgresql.org
Subject: Re: pgsql: Support VERBOSE option in REINDEX command.
In-Reply-To: <E1YtDWU-0002Lb-DV@gemulon.postgresql.org>
References: <E1YtDWU-0002Lb-DV@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