forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0b9d3d4
committed
Fix a problem in my recent patch to initialize cancel_key for autovac workers
as well as regular backends: if no regular backend launches before the autovaclauncher tries to start an autovac worker, the postmaster would get an Assertfault due to calling PostmasterRandom before random_seed was initialized.Cleanest solution seems to be to take the initialization of random_seed outof ServerLoop and let PostmasterRandom do it for itself.1 parentbdd6b62 commit0b9d3d4
1 file changed
+26
-27
lines changedLines changed: 26 additions & 27 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 |
| |
| |||
230 | 230 |
| |
231 | 231 |
| |
232 | 232 |
| |
| 233 | + | |
233 | 234 |
| |
234 | 235 |
| |
235 | 236 |
| |
| |||
966 | 967 |
| |
967 | 968 |
| |
968 | 969 |
| |
| 970 | + | |
| 971 | + | |
969 | 972 |
| |
970 | 973 |
| |
971 | 974 |
| |
| |||
1140 | 1143 |
| |
1141 | 1144 |
| |
1142 | 1145 |
| |
1143 |
| - | |
1144 |
| - | |
1145 | 1146 |
| |
1146 |
| - | |
1147 | 1147 |
| |
1148 | 1148 |
| |
1149 | 1149 |
| |
| |||
1194 | 1194 |
| |
1195 | 1195 |
| |
1196 | 1196 |
| |
1197 |
| - | |
1198 |
| - | |
1199 |
| - | |
1200 |
| - | |
1201 |
| - | |
1202 |
| - | |
1203 |
| - | |
1204 |
| - | |
1205 |
| - | |
1206 |
| - | |
1207 |
| - | |
1208 |
| - | |
1209 |
| - | |
1210 |
| - | |
1211 |
| - | |
1212 |
| - | |
1213 |
| - | |
1214 |
| - | |
1215 | 1197 |
| |
1216 | 1198 |
| |
1217 | 1199 |
| |
| |||
2970 | 2952 |
| |
2971 | 2953 |
| |
2972 | 2954 |
| |
| 2955 | + | |
2973 | 2956 |
| |
2974 | 2957 |
| |
2975 | 2958 |
| |
| |||
3778 | 3761 |
| |
3779 | 3762 |
| |
3780 | 3763 |
| |
3781 |
| - | |
3782 |
| - | |
3783 |
| - | |
| 3764 | + | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
3784 | 3768 |
| |
3785 |
| - | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
| 3772 | + | |
| 3773 | + | |
| 3774 | + | |
| 3775 | + | |
| 3776 | + | |
| 3777 | + | |
| 3778 | + | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
| 3785 | + | |
3786 | 3786 |
| |
3787 |
| - | |
3788 | 3787 |
| |
3789 | 3788 |
| |
3790 | 3789 |
| |
|
0 commit comments
Comments
(0)