forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9294264
committed
Use pgstat_progress_update_multi_param() where possible
This commit changes one code path in REINDEX INDEX and one code pathin CREATE INDEX CONCURRENTLY to report the progress of each operationusing pgstat_progress_update_multi_param() rather thanmultiple calls to pgstat_progress_update_param(). This has theadvantage to make the progress report more consistent to the end-userwithout impacting the amount of information provided.Author: Bharath RupireddyDiscussion:https://postgr.es/m/CALj2ACV5zW7GxD8D_tyO==bcj6ZktQchEKWKPBOAGKiLhAQo=w@mail.gmail.com1 parentdb8374d commit9294264
2 files changed
+24
-9
lines changedLines changed: 10 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3686 | 3686 |
| |
3687 | 3687 |
| |
3688 | 3688 |
| |
| 3689 | + | |
| 3690 | + | |
| 3691 | + | |
| 3692 | + | |
| 3693 | + | |
| 3694 | + | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
3689 | 3698 |
| |
3690 | 3699 |
| |
3691 |
| - | |
3692 |
| - | |
3693 |
| - | |
3694 |
| - | |
| 3700 | + | |
3695 | 3701 |
| |
3696 | 3702 |
| |
3697 | 3703 |
| |
|
Lines changed: 14 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1457 | 1457 |
| |
1458 | 1458 |
| |
1459 | 1459 |
| |
1460 |
| - | |
| 1460 | + | |
| 1461 | + | |
1461 | 1462 |
| |
1462 |
| - | |
1463 |
| - | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
1464 | 1475 |
| |
1465 | 1476 |
| |
1466 | 1477 |
| |
| |||
1478 | 1489 |
| |
1479 | 1490 |
| |
1480 | 1491 |
| |
1481 |
| - | |
1482 |
| - | |
1483 | 1492 |
| |
1484 | 1493 |
| |
1485 | 1494 |
| |
|
0 commit comments
Comments
(0)