forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd3f62f2
committed
Send paramHandle to subprocesses as 64-bit on Win64
The handle to the shared memory segment containing startupparameters was sent as 32-bit even on 64-bit systems. SinceHANDLEs appear to be allocated sequentially this shouldn'tbe a problem until we reach 2^32 open handles in the postmaster,but a 64-bit value should be sent across as 64-bit, and notzero out the top 32 bits.Noted by Tom Lane.1 parent821bb17 commitd3f62f2
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3749 | 3749 |
| |
3750 | 3750 |
| |
3751 | 3751 |
| |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
3752 | 3755 |
| |
| 3756 | + | |
3753 | 3757 |
| |
3754 | 3758 |
| |
3755 | 3759 |
| |
| |||
4819 | 4823 |
| |
4820 | 4824 |
| |
4821 | 4825 |
| |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
4822 | 4829 |
| |
| 4830 | + | |
4823 | 4831 |
| |
4824 | 4832 |
| |
4825 | 4833 |
| |
|
0 commit comments
Comments
(0)