- Notifications
You must be signed in to change notification settings - Fork5k
Commitf0d72ef
committed
Clean up after erroneous SELECT FOR UPDATE/SHARE on a sequence.
My previous commit disallowed this operation, but did nothing aboutcleaning up the damage if one had already been done. With the operationdisallowed, it's okay to just forcibly clear xmax in a sequence's tuple,since any value seen there could not represent a live transaction's lock.So, any sequence-specific operation will repair the problem automatically,whether or not the user has already seen "could not access status oftransaction" failures.1 parenta12899e commitf0d72ef
1 file changed
+16
-0
lines changedLines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
950 | 950 |
| |
951 | 951 |
| |
952 | 952 |
| |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
953 | 969 |
| |
954 | 970 |
| |
955 | 971 |
| |
|
0 commit comments
Comments
(0)