forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite118822
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 parent21aa47d commite118822
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1542 | 1542 |
| |
1543 | 1543 |
| |
1544 | 1544 |
| |
| 1545 | + | |
1545 | 1546 |
| |
1546 | 1547 |
| |
1547 | 1548 |
| |
| |||
2952 | 2953 |
| |
2953 | 2954 |
| |
2954 | 2955 |
| |
| 2956 | + | |
2955 | 2957 |
| |
2956 | 2958 |
| |
2957 | 2959 |
| |
|
0 commit comments
Comments
(0)