]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve documentation about CREATE INDEX CONCURRENTLY.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Feb 2016 18:43:03 +0000 (13:43 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Feb 2016 18:43:03 +0000 (13:43 -0500)
commit0d670b934fb2551f0affec8bacbc16d9ea3fdf47
tree4bc34edd83392caae39e7b10bf13701b4d323d86
parent5043e3afcc8701687bf3970bf56a648c8ea033d9
Improve documentation about CREATE INDEX CONCURRENTLY.

Clarify the description of which transactions will block a CREATE INDEX
CONCURRENTLY command from proceeding, and mention that the index might
still not be usable after CREATE INDEX completes.  (This happens if the
index build detected broken HOT chains, so that pg_index.indcheckxmin gets
set, and there are open old transactions preventing the xmin horizon from
advancing past the index's initial creation.  I didn't want to explain what
broken HOT chains are, though, so I omitted an explanation of exactly when
old transactions prevent the index from being used.)

Per discussion with Chris Travers.  Back-patch to all supported branches,
since the same text appears in all of them.
doc/src/sgml/ref/create_index.sgml