- Notifications
You must be signed in to change notification settings - Fork5
Commita7e5878
committed
Reserve the shared memory region during backend startup on Windows, so
that memory allocated by starting third party DLLs doesn't end upconflicting with it.Hopefully this solves the long-time issue with "could not reattachto shared memory" errors on Win32.Patch from Tsutomu Yamada and me, based on idea from Trevor Talbot.1 parent5e22994 commita7e5878
File tree
3 files changed
+85
-4
lines changed- src
- backend
- port
- postmaster
- include/port
3 files changed
+85
-4
lines changedLines changed: 60 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| |||
233 | 234 |
| |
234 | 235 |
| |
235 | 236 |
| |
| 237 | + | |
236 | 238 |
| |
237 | 239 |
| |
238 | 240 |
| |
| |||
257 | 259 |
| |
258 | 260 |
| |
259 | 261 |
| |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
260 | 269 |
| |
261 | 270 |
| |
262 | 271 |
| |
| |||
302 | 311 |
| |
303 | 312 |
| |
304 | 313 |
| |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + |
Lines changed: 21 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
3635 | 3635 |
| |
3636 | 3636 |
| |
3637 | 3637 |
| |
3638 |
| - | |
| 3638 | + | |
3639 | 3639 |
| |
3640 | 3640 |
| |
3641 | 3641 |
| |
3642 | 3642 |
| |
3643 | 3643 |
| |
3644 | 3644 |
| |
3645 | 3645 |
| |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
| 3655 | + | |
| 3656 | + | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
| 3662 | + | |
| 3663 | + | |
| 3664 | + | |
3646 | 3665 |
| |
3647 | 3666 |
| |
3648 | 3667 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
288 | 288 |
| |
289 | 289 |
| |
290 | 290 |
| |
| 291 | + | |
| 292 | + | |
| 293 | + | |
291 | 294 |
| |
292 | 295 |
| |
293 | 296 |
| |
|
0 commit comments
Comments
(0)