forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit152c946
committed
Add vacuum_delay_point call in compute_index_stats's per-sample-row loop.
Slow functions in index expressions might cause this loop to take longenough to make it worth being cancellable. Probably it would be enoughto call CHECK_FOR_INTERRUPTS here, but for consistency with otherper-sample-row loops in this file, let's use vacuum_delay_point.Report and patch by Jeff Janes. Back-patch to all supported branches.1 parent6997f22 commit152c946
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
679 | 679 |
| |
680 | 680 |
| |
681 | 681 |
| |
| 682 | + | |
| 683 | + | |
682 | 684 |
| |
683 | 685 |
| |
684 | 686 |
| |
|
0 commit comments
Comments
(0)