forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0f904c9
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 parentf00fbad commit0f904c9
3 files changed
+7
-8
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2422 | 2422 |
| |
2423 | 2423 |
| |
2424 | 2424 |
| |
2425 |
| - | |
| 2425 | + | |
2426 | 2426 |
| |
2427 | 2427 |
| |
2428 | 2428 |
| |
| 2429 | + | |
2429 | 2430 |
| |
2430 | 2431 |
| |
2431 | 2432 |
| |
|
Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
| 182 | + | |
| 183 | + | |
| 184 | + | |
182 | 185 |
| |
183 | 186 |
| |
184 | 187 |
| |
| |||
487 | 490 |
| |
488 | 491 |
| |
489 | 492 |
| |
490 |
| - | |
491 | 493 |
| |
492 | 494 |
| |
493 | 495 |
| |
| |||
514 | 516 |
| |
515 | 517 |
| |
516 | 518 |
| |
517 |
| - | |
518 |
| - | |
519 | 519 |
| |
520 | 520 |
| |
521 | 521 |
| |
522 |
| - | |
523 |
| - | |
524 |
| - | |
| 522 | + | |
525 | 523 |
| |
526 | 524 |
| |
527 | 525 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 |
| - | |
| 148 | + | |
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
|
0 commit comments
Comments
(0)