forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit920fbc1
committed
Check for interrupts and stack overflow during rule/view dumps.
Since ruleutils.c recurses, it could be driven to stack overflow bydeeply nested constructs. Very large queries might also take longenough to deparse that a check for interrupts seems like a good idea.Stick appropriate tests into a couple of key places.Noted by Greg Stark. Back-patch to all supported branches.1 parente2558e0 commit920fbc1
1 file changed
+13
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
| |||
2661 | 2662 |
| |
2662 | 2663 |
| |
2663 | 2664 |
| |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
2664 | 2669 |
| |
2665 | 2670 |
| |
2666 | 2671 |
| |
| |||
3178 | 3183 |
| |
3179 | 3184 |
| |
3180 | 3185 |
| |
| 3186 | + | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
3181 | 3190 |
| |
3182 | 3191 |
| |
3183 | 3192 |
| |
| |||
5001 | 5010 |
| |
5002 | 5011 |
| |
5003 | 5012 |
| |
| 5013 | + | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
5004 | 5017 |
| |
5005 | 5018 |
| |
5006 | 5019 |
| |
|
0 commit comments
Comments
(0)