forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8d1fbf9
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 parent71c53d5 commit8d1fbf9
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2296 | 2296 | | |
2297 | 2297 | | |
2298 | 2298 | | |
2299 | | - | |
2300 | | - | |
| 2299 | + | |
| 2300 | + | |
2301 | 2301 | | |
2302 | 2302 | | |
2303 | 2303 | | |
| |||
2310 | 2310 | | |
2311 | 2311 | | |
2312 | 2312 | | |
2313 | | - | |
| 2313 | + | |
2314 | 2314 | | |
2315 | 2315 | | |
2316 | 2316 | | |
| |||
2528 | 2528 | | |
2529 | 2529 | | |
2530 | 2530 | | |
2531 | | - | |
2532 | | - | |
| 2531 | + | |
| 2532 | + | |
2533 | 2533 | | |
2534 | 2534 | | |
2535 | 2535 | | |
2536 | 2536 | | |
2537 | 2537 | | |
2538 | | - | |
| 2538 | + | |
2539 | 2539 | | |
2540 | 2540 | | |
2541 | 2541 | | |
| |||
0 commit comments
Comments
(0)