forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit74d0994
committed
Measure WaitLatch's timeout parameter in milliseconds, not microseconds.
The original definition had the problem that timeouts exceeding about 2100seconds couldn't be specified on 32-bit machines. Milliseconds seem likesufficient resolution, and finer grain than that would be fantasy anywayon many platforms.Back-patch to 9.1 so that this aspect of the latch API won't change between9.1 and later releases.Peter Geoghegan1 parent6760a4d commit74d0994
File tree
5 files changed
+7
-7
lines changed- src/backend
- access/transam
- port
- replication
5 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10161 | 10161 | | |
10162 | 10162 | | |
10163 | 10163 | | |
10164 | | - | |
| 10164 | + | |
10165 | 10165 | | |
10166 | 10166 | | |
10167 | 10167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
| 176 | + | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
810 | | - | |
| 810 | + | |
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| |||
0 commit comments
Comments
(0)