aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-03-21 15:06:08 +0100
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-03-21 15:10:48 +0100
commit68a2e52bbaf98f136a96b3a0d734ca52ca440a95 (patch)
treebf1d45f3055d659e9df2f1c023ede044078cdb21 /src/tutorial/advanced.source
parentaf930e606a3217db3909029c6c3f8d003ba70920 (diff)
downloadpostgresql-68a2e52bbaf98f136a96b3a0d734ca52ca440a95.tar.gz
postgresql-68a2e52bbaf98f136a96b3a0d734ca52ca440a95.zip
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.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions