forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaf3290f

Amit Kapila
Change overly strict Assert in TransactionGroupUpdateXidStatus.
This Assert thought that an overflowed transaction can never get registeredfor the group update. But that is not true, because even when the numberof children for a transaction got reduced, the overflow flag is notchanged. And, for group update, we only care about the current number ofchildren for a transaction that is being committed.Based on comments by Andres Freund, remove a redundant Assert inTransactionIdSetPageStatus as we already had a static Assert for the samecondition a few lines earlier.Reported-by: Vignesh CAuthor: Dilip KumarReviewed-by: Amit KapilaBackpatch-through: 11Discussion:https://postgr.es/m/CAFiTN-s5=uJw-Z6JC9gcqtBSjXsrHnU63PXBrA=pnBjqnkm5UA@mail.gmail.com1 parentfcf3b69 commitaf3290f
1 file changed
+3
-10
lines changedLines changed: 3 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
299 | 299 |
| |
300 | 300 |
| |
301 | 301 |
| |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 | 302 |
| |
310 | 303 |
| |
311 | 304 |
| |
| |||
520 | 513 |
| |
521 | 514 |
| |
522 | 515 |
| |
523 |
| - | |
524 |
| - | |
| 516 | + | |
| 517 | + | |
525 | 518 |
| |
526 |
| - | |
| 519 | + | |
527 | 520 |
| |
528 | 521 |
| |
529 | 522 |
| |
|
0 commit comments
Comments
(0)