postgresql/src/include/storage
Heikki Linnakangas 68a2e52bba 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.
2014-03-21 15:10:48 +01:00
..
backendid.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
barrier.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
block.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
buf.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
buf_internals.h Relax the requirement that all lwlocks be stored in a single array. 2014-01-27 11:07:44 -05:00
buffile.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
bufmgr.h Fix multiple bugs in index page locking during hot-standby WAL replay. 2014-01-14 17:35:21 -05:00
bufpage.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
checksum.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
checksum_impl.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
copydir.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
dsm.h Make it easy to detach completely from shared memory. 2014-03-18 07:58:53 -04:00
dsm_impl.h Allow dynamic shared memory segments to be kept until shutdown. 2014-03-10 14:04:47 -04:00
fd.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
freespace.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
fsm_internals.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
indexfsm.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
ipc.h PGDLLIMPORT-ify MainLWLockArray, ProcDiePending, proc_exit_inprogress. 2014-02-16 20:12:43 -05:00
item.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
itemid.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
itemptr.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
large_object.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
latch.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
lmgr.h Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
lock.h Relax the requirement that all lwlocks be stored in a single array. 2014-01-27 11:07:44 -05:00
lwlock.h Replace the XLogInsert slots with regular LWLocks. 2014-03-21 15:10:48 +01:00
off.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pg_sema.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pg_shmem.h Rename huge_tlb_pages to huge_pages, and improve docs. 2014-03-03 20:52:48 +02:00
pmsignal.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pos.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
predicate.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
predicate_internals.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
proc.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
procarray.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
procsignal.h Export set_latch_on_sigusr1 symbol for Windows. 2014-01-17 12:48:23 -05:00
reinit.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
relfilenode.h C comments: improve description of relfilenode uniqueness 2014-03-08 12:20:30 -05:00
s_lock.h We don't need to include pg_sema.h in s_lock.h anymore. 2014-01-08 20:58:22 -05:00
shm_mq.h Improve shm_mq portability around MAXIMUM_ALIGNOF and sizeof(Size). 2014-03-18 11:23:13 -04:00
shm_toc.h Simple table of contents for a shared memory segment. 2014-01-14 12:18:58 -05:00
shmem.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
sinval.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
sinvaladt.h Show xid and xmin in pg_stat_activity and pg_stat_replication. 2014-02-25 12:34:04 -05:00
smgr.h Fix dangling smgr_owner pointer when a fake relcache entry is freed. 2014-03-07 13:28:52 +02:00
spin.h We don't need to include pg_sema.h in s_lock.h anymore. 2014-01-08 20:58:22 -05:00
standby.h Logging running transactions every 15 seconds. 2014-01-15 12:41:20 -05:00