Content-Length: 259495 | pFad | http://github.com/postgrespro/postgres/commit/68a2e52bbaf98f136a96b3a0d734ca52ca440a95

FF Replace the XLogInsert slots with regular LWLocks. · postgrespro/postgres@68a2e52 · GitHub
Skip to content

Commit 68a2e52

Browse files
committed
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.
1 parent af930e6 commit 68a2e52

File tree

5 files changed

+502
-595
lines changed

5 files changed

+502
-595
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/68a2e52bbaf98f136a96b3a0d734ca52ca440a95

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy