Support VERBOSE option in REINDEX command.
Fujii Masao <fujii@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/reindex.sgml | modified | +10 −1 |
| src/backend/catalog/index.c | modified | +17 −4 |
| src/backend/commands/cluster.c | modified | +1 −1 |
| src/backend/commands/indexcmds.c | modified | +15 −10 |
| src/backend/commands/tablecmds.c | modified | +1 −1 |
| src/backend/nodes/copyfuncs.c | modified | +1 −0 |
| src/backend/nodes/equalfuncs.c | modified | +1 −0 |
| src/backend/parser/gram.y | modified | +36 −21 |
| src/backend/tcop/utility.c | modified | +3 −3 |
| src/include/catalog/index.h | modified | +2 −2 |
| src/include/commands/defrem.h | modified | +4 −3 |
| src/include/nodes/parsenodes.h | modified | +5 −0 |
| src/test/regress/expected/create_index.out | modified | +8 −0 |
| src/test/regress/sql/create_index.sql | modified | +8 −0 |