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