- Notifications
You must be signed in to change notification settings - Fork5
Commitd8c3896
committed
Unbreak lock conflict detection for Hot Standby.
This got broken in the original fast-path locking patch, becauseI failed to account for the fact that Hot Standby startup processmight take a strong relation lock on a relation in a database towhich it is not bound, and confused MyDatabaseId with the databaseID of the relation being locked.Report and diagnosis by Andres Freund. Final form of patch by me.1 parent600250d commitd8c3896
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2445 | 2445 |
| |
2446 | 2446 |
| |
2447 | 2447 |
| |
2448 |
| - | |
2449 |
| - | |
| 2448 | + | |
| 2449 | + | |
2450 | 2450 |
| |
2451 | 2451 |
| |
2452 | 2452 |
| |
| |||
2459 | 2459 |
| |
2460 | 2460 |
| |
2461 | 2461 |
| |
2462 |
| - | |
| 2462 | + | |
2463 | 2463 |
| |
2464 | 2464 |
| |
2465 | 2465 |
| |
| |||
2677 | 2677 |
| |
2678 | 2678 |
| |
2679 | 2679 |
| |
2680 |
| - | |
2681 |
| - | |
| 2680 | + | |
| 2681 | + | |
2682 | 2682 |
| |
2683 | 2683 |
| |
2684 | 2684 |
| |
2685 | 2685 |
| |
2686 | 2686 |
| |
2687 |
| - | |
| 2687 | + | |
2688 | 2688 |
| |
2689 | 2689 |
| |
2690 | 2690 |
| |
|
0 commit comments
Comments
(0)