forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf444de5
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 parent3740bb8 commitf444de5
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
743 | 743 |
| |
744 | 744 |
| |
745 | 745 |
| |
| 746 | + | |
| 747 | + | |
746 | 748 |
| |
747 | 749 |
| |
748 | 750 |
| |
|
0 commit comments
Comments
(0)