- Notifications
You must be signed in to change notification settings - Fork5
Commitdd1c781
committed
Make get_stack_depth_rlimit() handle RLIM_INFINITY more sanely.
Rather than considering this result as meaning "unknown", report LONG_MAX.This won't change what superusers can set max_stack_depth to, but it willcause InitializeGUCOptions() to set the built-in default to 2MB not 100kB.The latter seems like a fairly unreasonable interpretation of "infinity".Per my investigation of odd buildfarm results as well as an old complaintfrom Heikki.Since this should persuade all the buildfarm animals to use a reasonablestack depth setting during "make check", revert previous patch that dumbeddown a recursive regression test to only 5 levels.1 parent6736916 commitdd1c781
File tree
4 files changed
+12
-8
lines changed- src
- backend
- tcop
- utils/misc
- test/regress
- expected
- sql
4 files changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
25 | | - | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
4107 | 4108 | | |
4108 | 4109 | | |
4109 | 4110 | | |
4110 | | - | |
| 4111 | + | |
4111 | 4112 | | |
4112 | 4113 | | |
4113 | 4114 | | |
| |||
4123 | 4124 | | |
4124 | 4125 | | |
4125 | 4126 | | |
4126 | | - | |
| 4127 | + | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
4127 | 4131 | | |
4128 | 4132 | | |
4129 | 4133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3485 | 3485 | | |
3486 | 3486 | | |
3487 | 3487 | | |
3488 | | - | |
| 3488 | + | |
3489 | 3489 | | |
3490 | 3490 | | |
3491 | 3491 | | |
3492 | 3492 | | |
3493 | 3493 | | |
3494 | 3494 | | |
3495 | | - | |
| 3495 | + | |
3496 | 3496 | | |
3497 | 3497 | | |
3498 | 3498 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4006 | 4006 | | |
4007 | 4007 | | |
4008 | 4008 | | |
4009 | | - | |
| 4009 | + | |
4010 | 4010 | | |
4011 | 4011 | | |
4012 | 4012 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3211 | 3211 | | |
3212 | 3212 | | |
3213 | 3213 | | |
3214 | | - | |
| 3214 | + | |
3215 | 3215 | | |
3216 | 3216 | | |
3217 | 3217 | | |
| |||
0 commit comments
Comments
(0)