git.postgresql.org Git - postgresql.git/commit
2014年3月21日 14:06:08 +0000 (15:06 +0100)
2014年3月21日 14:10:48 +0000 (15:10 +0100)
commit 68a2e52bbaf98f136a96b3a0d734ca52ca440a95
Replace the XLogInsert slots with regular LWLocks.
The special feature the XLogInsert slots had over regular LWLocks is the
insertingAt value that was updated atomically with releasing backends
waiting on it. Add new functions to the LWLock API to do that, and replace
the slots with LWLocks. This reduces the amount of duplicated code.
(There's still some duplication, but at least it's all in lwlock.c now.)
Reviewed by Andres Freund.
This is the main PostgreSQL git repository.
RSS
Atom