- Notifications
You must be signed in to change notification settings - Fork5
Commit364c006
committed
Fix integer overflow in debug message of walreceiver
The message tries to tell the replication apply delay which fails ifthe first WAL record is not applied yet. Fix is, instead of tellingoverflowed minus numeric, showing "N/A" which indicates that the delaydata is not yet available. Problem reported by me and patch byFabrízio de Royes Mello.Back patched to 9.4, 9.3 and 9.2 stable branches (9.1 and 9.0 do nothave the debug message).1 parent82fe8b1 commit364c006
2 files changed
+26
-7
lines changedLines changed: 16 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1191 | 1191 |
| |
1192 | 1192 |
| |
1193 | 1193 |
| |
| 1194 | + | |
1194 | 1195 |
| |
1195 | 1196 |
| |
1196 | 1197 |
| |
1197 | 1198 |
| |
1198 |
| - | |
1199 |
| - | |
1200 |
| - | |
1201 |
| - | |
1202 |
| - | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
1203 | 1214 |
| |
1204 | 1215 |
| |
1205 | 1216 |
| |
|
Lines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
314 | 314 |
| |
315 | 315 |
| |
316 | 316 |
| |
317 |
| - | |
| 317 | + | |
| 318 | + | |
318 | 319 |
| |
319 | 320 |
| |
320 | 321 |
| |
| |||
328 | 329 |
| |
329 | 330 |
| |
330 | 331 |
| |
| 332 | + | |
| 333 | + | |
331 | 334 |
| |
332 | 335 |
| |
333 | 336 |
| |
| |||
337 | 340 |
| |
338 | 341 |
| |
339 | 342 |
| |
340 |
| - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
341 | 349 |
| |
342 | 350 |
| |
343 | 351 |
| |
|
0 commit comments
Comments
(0)