forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfc3f445
committed
Recompute stack base in forked postmaster children.
This is for the benefit of running postgres under the rrdebugger. When using rr signal handlers running while a syscall isactive use an alternative stack. As e.g. bgworkers are started fromwithin signal handlers, the forked backend then has a different stackbase than postmaster. Previously that subsequently lead to thoseprocesses triggering spurious "stack depth limit exceeded" errors.Discussion:https://postgr.es/m/20200327182217.ubrrl32lyfhxfwk5@alap3.anarazel.de1 parentf946069 commitfc3f445
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4900 | 4900 | | |
4901 | 4901 | | |
4902 | 4902 | | |
4903 | | - | |
4904 | | - | |
4905 | | - | |
4906 | | - | |
4907 | | - | |
4908 | 4903 | | |
4909 | 4904 | | |
4910 | 4905 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
95 | 104 | | |
96 | 105 | | |
97 | 106 | | |
| |||
0 commit comments
Comments
(0)