diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-09-07 20:59:26 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-09-07 20:59:26 +0000 |
commit | 0a51e7073c045b5fce50092dae19f398f7b38e16 (patch) | |
tree | 8f33ac25cc0653195f86b76f724b52360f3fbc80 /src/backend/access/transam/transam.c | |
parent | 85e79a4a83d6f6fb505474a720eb32fd88067c16 (diff) | |
download | postgresql-0a51e7073c045b5fce50092dae19f398f7b38e16.tar.gz postgresql-0a51e7073c045b5fce50092dae19f398f7b38e16.zip |
Don't take ProcArrayLock while exiting a transaction that has no XID; there is
no need for serialization against snapshot-taking because the xact doesn't
affect anyone else's snapshot anyway. Per discussion. Also, move various
info about the interlocking of transactions and snapshots out of code comments
and into a hopefully-more-cohesive discussion in access/transam/README.
Also, remove a couple of now-obsolete comments about having to force some WAL
to be written to persuade RecordTransactionCommit to do its thing.
Diffstat (limited to 'src/backend/access/transam/transam.c')
0 files changed, 0 insertions, 0 deletions