postgresql/src/include/commands
Alvaro Herrera ab0dfc961b Report progress of CREATE INDEX operations
This uses the progress reporting infrastructure added by c16dc1aca5,
adding support for CREATE INDEX and CREATE INDEX CONCURRENTLY.

There are two pieces to this: one is index-AM-agnostic, and the other is
AM-specific.  The latter is fairly elaborate for btrees, including
reportage for parallel index builds and the separate phases that btree
index creation uses; other index AMs, which are much simpler in their
building procedures, have simplistic reporting only, but that seems
sufficient, at least for non-concurrent builds.

The index-AM-agnostic part is fairly complete, providing insight into
the CONCURRENTLY wait phases as well as block-based progress during the
index validation table scan.  (The index validation index scan requires
patching each AM, which has not been included here.)

Reviewers: Rahila Syed, Pavan Deolasee, Tatsuro Yamada
Discussion: https://postgr.es/m/20181220220022.mg63bhk26zdpvmcj@alvherre.pgsql
2019-04-02 15:18:08 -03:00
..
alter.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
async.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
cluster.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
collationcmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
comment.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
conversioncmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
copy.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
createas.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
dbcommands.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
dbcommands_xlog.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
defrem.h REINDEX CONCURRENTLY 2019-03-29 08:26:33 +01:00
discard.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
event_trigger.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
explain.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
extension.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
lockcmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
matview.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
policy.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
portalcmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
prepare.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
proclang.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
progress.h Report progress of CREATE INDEX operations 2019-04-02 15:18:08 -03:00
publicationcmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
schemacmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
seclabel.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
sequence.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
subscriptioncmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
tablecmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
tablespace.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
trigger.h Use slots in trigger infrastructure, except for the actual invocation. 2019-02-26 20:31:38 -08:00
typecmds.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
user.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
vacuum.h Revise parse tree representation for VACUUM and ANALYZE. 2019-03-18 15:14:52 -04:00
variable.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
view.h Update copyright for 2019 2019-01-02 12:44:25 -05:00