- Notifications
You must be signed in to change notification settings - Fork5
Commitb1aed95
committed
Use PostmasterRandom(), not random(), for DSM control segment ID.
Otherwise, every startup gets the same "random" value, which isdefinitely not what was intended.1 parentc124e36 commitb1aed95
File tree
3 files changed
+4
-3
lines changed- src
- backend
- postmaster
- storage/ipc
- include/postmaster
3 files changed
+4
-3
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
399 | 399 |
| |
400 | 400 |
| |
401 | 401 |
| |
402 |
| - | |
403 | 402 |
| |
404 | 403 |
| |
405 | 404 |
| |
| |||
5077 | 5076 |
| |
5078 | 5077 |
| |
5079 | 5078 |
| |
5080 |
| - | |
| 5079 | + | |
5081 | 5080 |
| |
5082 | 5081 |
| |
5083 | 5082 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| 39 | + | |
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
| |||
179 | 180 |
| |
180 | 181 |
| |
181 | 182 |
| |
182 |
| - | |
| 183 | + | |
183 | 184 |
| |
184 | 185 |
| |
185 | 186 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| 51 | + | |
51 | 52 |
| |
52 | 53 |
| |
53 | 54 |
| |
|
0 commit comments
Comments
(0)