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

Amit Kapila
Move MarkCurrentTransactionIdLoggedIfAny() out of the critical section.
We don't modify any shared state in this function which could causeproblems for any concurrent session. This will make it look similar to theother updates for the same structure (TransactionState) which avoidsconfusion for future readers of code.Author: Dilip KumarReviewed-by: Amit KapilaDiscussion:https://postgr.es/m/E1mSoYz-0007Fh-D9@gemulon.postgresql.org1 parent71db645 commit3353974
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1169 | 1169 |
| |
1170 | 1170 |
| |
1171 | 1171 |
| |
1172 |
| - | |
1173 |
| - | |
1174 | 1172 |
| |
1175 | 1173 |
| |
| 1174 | + | |
| 1175 | + | |
1176 | 1176 |
| |
1177 | 1177 |
| |
1178 | 1178 |
| |
|
0 commit comments
Comments
(0)