Commit 5e692dc
committed
Remove postmaster.c's reset_shared() wrapper function.
reset_shared just invokes CreateSharedMemoryAndSemaphores, so let's
get rid of it and invoke that directly. This removes a confusing
seeming-inconsistency between the postmaster's startup sequence
and the startup sequence used in standalone mode.
Nathan Bossart, reviewed by Pavel Borisov
Discussion: https://postgr.es/m/20220329221702.GA559657@nathanxps131 parent 506428d commit 5e692dc
1 file changed
+7
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | 394 | | |
396 | 395 | | |
397 | 396 | | |
| |||
1081 | 1080 | | |
1082 | 1081 | | |
1083 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1084 | 1087 | | |
1085 | | - | |
| 1088 | + | |
1086 | 1089 | | |
1087 | 1090 | | |
1088 | 1091 | | |
| |||
2723 | 2726 | | |
2724 | 2727 | | |
2725 | 2728 | | |
2726 | | - | |
2727 | | - | |
2728 | | - | |
2729 | | - | |
2730 | | - | |
2731 | | - | |
2732 | | - | |
2733 | | - | |
2734 | | - | |
2735 | | - | |
2736 | | - | |
2737 | | - | |
2738 | | - | |
2739 | | - | |
2740 | | - | |
2741 | | - | |
2742 | | - | |
2743 | 2729 | | |
2744 | 2730 | | |
2745 | 2731 | | |
| |||
4022 | 4008 | | |
4023 | 4009 | | |
4024 | 4010 | | |
4025 | | - | |
| 4011 | + | |
| 4012 | + | |
4026 | 4013 | | |
4027 | 4014 | | |
4028 | 4015 | | |
| |||
0 commit comments