- Notifications
You must be signed in to change notification settings - Fork5
Commit2e53bd5
committed
Fix incorrect initialization of ProcGlobal->startupBufferPinWaitBufId.
It was initialized in the wrong place and to the wrong value. With badluck this could result in incorrect query-cancellation failures in hotstandby sessions, should a HS backend be holding pin on buffer number 1while trying to acquire a lock.1 parent89df948 commit2e53bd5
3 files changed
+7
-8
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2449 | 2449 |
| |
2450 | 2450 |
| |
2451 | 2451 |
| |
2452 |
| - | |
| 2452 | + | |
2453 | 2453 |
| |
2454 | 2454 |
| |
2455 | 2455 |
| |
| 2456 | + | |
2456 | 2457 |
| |
2457 | 2458 |
| |
2458 | 2459 |
| |
|
Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
| 174 | + | |
| 175 | + | |
| 176 | + | |
174 | 177 |
| |
175 | 178 |
| |
176 | 179 |
| |
| |||
493 | 496 |
| |
494 | 497 |
| |
495 | 498 |
| |
496 |
| - | |
497 | 499 |
| |
498 | 500 |
| |
499 | 501 |
| |
| |||
520 | 522 |
| |
521 | 523 |
| |
522 | 524 |
| |
523 |
| - | |
524 |
| - | |
525 | 525 |
| |
526 | 526 |
| |
527 | 527 |
| |
528 |
| - | |
529 |
| - | |
530 |
| - | |
| 528 | + | |
531 | 529 |
| |
532 | 530 |
| |
533 | 531 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 |
| - | |
| 181 | + | |
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
|
0 commit comments
Comments
(0)