- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit68a2e52
committed
Replace the XLogInsert slots with regular LWLocks.
The special feature the XLogInsert slots had over regular LWLocks is theinsertingAt value that was updated atomically with releasing backendswaiting on it. Add new functions to the LWLock API to do that, and replacethe 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.1 parentaf930e6 commit68a2e52