forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit315772e
committed
Assert that strong-lock count is >0 everywhere it's decremented.
The one existing assertion of this type has tripped a few times in thebuildfarm lately, but it's not clear whether the problem is reallyoriginating there or whether it's leftovers from a trip through oneof the other two paths that lack a matching assertion. So add one.Since the same bug(s) most likely exist(s) in the back-branches also,back-patch to 9.2, where the fast-path lock mechanism was added.1 parentb8a7211 commit315772e
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1541 | 1541 |
| |
1542 | 1542 |
| |
1543 | 1543 |
| |
| 1544 | + | |
1544 | 1545 |
| |
1545 | 1546 |
| |
1546 | 1547 |
| |
| |||
2953 | 2954 |
| |
2954 | 2955 |
| |
2955 | 2956 |
| |
| 2957 | + | |
2956 | 2958 |
| |
2957 | 2959 |
| |
2958 | 2960 |
| |
|
0 commit comments
Comments
(0)