pgsql: Support VERBOSE option in REINDEX command.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Support VERBOSE option in REINDEX command.
Date: 2015-05-15 11:11:22
Message-ID: E1YtDWU-0002Lb-DV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(at)mail(dot)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-05-15 11:27:13 pgsql: Allow GiST distance function to return merely a lower-bound.
Previous Message Stephen Frost 2015-05-15 11:10:20 Re: pgsql: Add pg_audit, an auditing extension