aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2021-11-02 09:10:17 +0530
committerAmit Kapila <akapila@postgresql.org>2021-11-02 09:11:05 +0530
commit335397456b7e3f9f619038cb322fbfc9dd649d4f (patch)
treee2c545cbd7776e7c3bc73381dac57919573d753f /src/tutorial
parent71db6459e6e4ef623e98f3b1e3e9fed1bfb0ae3b (diff)
downloadpostgresql-335397456b7e3f9f619038cb322fbfc9dd649d4f.tar.gz
postgresql-335397456b7e3f9f619038cb322fbfc9dd649d4f.zip
Move MarkCurrentTransactionIdLoggedIfAny() out of the critical section.
We don't modify any shared state in this function which could cause problems for any concurrent session. This will make it look similar to the other updates for the same structure (TransactionState) which avoids confusion for future readers of code. Author: Dilip Kumar Reviewed-by: Amit Kapila Discussion: https://postgr.es/m/E1mSoYz-0007Fh-D9@gemulon.postgresql.org
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions