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+2fcc3ogp5zorggdymng5zoawd...@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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to