forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfbc0d07
committed
Partially roll back overenthusiastic SSI optimization.
When a regular lock is held, SSI can use that in lieu of a predicate lockto detect rw conflicts; but if the regular lock is being taken by asubtransaction, we can't assume that it'll commit, so releasing theparent transaction's lock in that case is a no-no.Kevin Grittner1 parent9c38bce commitfbc0d07
1 file changed
+13
-7
lines changedLines changed: 13 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3638 | 3638 |
| |
3639 | 3639 |
| |
3640 | 3640 |
| |
3641 |
| - | |
3642 |
| - | |
3643 |
| - | |
3644 |
| - | |
3645 |
| - | |
3646 |
| - | |
| 3641 | + | |
| 3642 | + | |
| 3643 | + | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
3647 | 3652 |
| |
3648 |
| - | |
| 3653 | + | |
| 3654 | + | |
3649 | 3655 |
| |
3650 | 3656 |
| |
3651 | 3657 |
| |
|
0 commit comments
Comments
(0)