forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitda5cf6a
committed
Improve documentation about CREATE INDEX CONCURRENTLY.
Clarify the description of which transactions will block a CREATE INDEXCONCURRENTLY command from proceeding, and mention that the index mightstill not be usable after CREATE INDEX completes. (This happens if theindex build detected broken HOT chains, so that pg_index.indcheckxmin getsset, and there are open old transactions preventing the xmin horizon fromadvancing past the index's initial creation. I didn't want to explain whatbroken HOT chains are, though, so I omitted an explanation of exactly whenold 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.1 parent77c616a commitda5cf6a
1 file changed
+10
-7
lines changedLines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
385 | 385 |
| |
386 | 386 |
| |
387 | 387 |
| |
388 |
| - | |
| 388 | + | |
389 | 389 |
| |
390 | 390 |
| |
391 | 391 |
| |
| |||
396 | 396 |
| |
397 | 397 |
| |
398 | 398 |
| |
399 |
| - | |
400 |
| - | |
401 |
| - | |
402 |
| - | |
403 |
| - | |
404 |
| - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
405 | 408 |
| |
406 | 409 |
| |
407 | 410 |
| |
|
0 commit comments
Comments
(0)