git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: af930e6) | patch
Replace the XLogInsert slots with regular LWLocks.
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.
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/storage/lmgr/lwlock.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/include/access/xlog.h diff | blob | blame | history
src/include/storage/lwlock.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /