- Notifications
You must be signed in to change notification settings - Fork28
Commitf7feb02
committed
Fix GetNewTransactionId()'s interaction with xidVacLimit.
Commitad30805 switched to returning a FullTransactionId, butfailed to load the potentially updated value in the case wherexidVacLimit is reached and we release and reacquire the lock.Repair, closing bug #15727.While reviewing that commit, also fix the size computation usedby EstimateTransactionStateSize() and switch to the mul_size()macro traditionally used in such expressions.Author: Thomas MunroReported-by: Roman ZharkovDiscussion:https://postgr.es/m/15727-0be246e7d852d229%40postgresql.org1 parentd87ab88 commitf7feb02
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5151 | 5151 | | |
5152 | 5152 | | |
5153 | 5153 | | |
5154 | | - | |
| 5154 | + | |
5155 | 5155 | | |
5156 | 5156 | | |
5157 | 5157 | | |
| |||
0 commit comments
Comments
(0)