forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit19c90bc
committed
Add a bit more locking to vac_update_relstats and vac_update_dbstats
to make them comparable to what UpdateStats does in the same situation.I'm not certain two instances of vac_update_relstats could run inparallel for the same relation, but parallel invocations of vac_update_dbstatsdo seem possible.1 parentbea8af9 commit19c90bc
1 file changed
+11
-1
lines changedLines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
520 | 520 |
| |
521 | 521 |
| |
522 | 522 |
| |
| 523 | + | |
| 524 | + | |
| 525 | + | |
523 | 526 |
| |
524 | 527 |
| |
525 | 528 |
| |
| |||
533 | 536 |
| |
534 | 537 |
| |
535 | 538 |
| |
| 539 | + | |
| 540 | + | |
536 | 541 |
| |
537 | 542 |
| |
538 | 543 |
| |
| |||
588 | 593 |
| |
589 | 594 |
| |
590 | 595 |
| |
| 596 | + | |
| 597 | + | |
| 598 | + | |
591 | 599 |
| |
592 | 600 |
| |
593 | 601 |
| |
594 | 602 |
| |
595 | 603 |
| |
596 | 604 |
| |
| 605 | + | |
| 606 | + | |
597 | 607 |
| |
598 | 608 |
| |
599 | 609 |
| |
|
0 commit comments
Comments
(0)