postgresql/src/backend/storage/ipc
Tom Lane 624292aa35 Ensure that all places that are complaining about exhaustion of shared
memory say 'out of shared memory'; some were doing that and some just
said 'out of memory'.  Also add a HINT about increasing max_locks_per_transaction
where relevant, per suggestion from Sean Chittenden.  (The former change
does not break the strings freeze; the latter does, but I think it's
worth doing anyway.)
2003-10-16 20:59:35 +00:00
..
ipc.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
ipci.c Fix old mention of exec() in AttachSharedMemoryAndSemaphores comment. 2003-09-12 02:13:23 +00:00
Makefile Merge three existing ways of signaling postmaster from child processes, 2001-11-04 19:55:31 +00:00
pmsignal.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
README Error message editing in backend/storage. 2003-07-24 22:04:15 +00:00
shmem.c Ensure that all places that are complaining about exhaustion of shared 2003-10-16 20:59:35 +00:00
shmqueue.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
sinval.c Repair RI trigger visibility problems (this time for sure ;-)) per recent 2003-10-01 21:30:53 +00:00
sinvaladt.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00

$Header: /cvsroot/pgsql/src/backend/storage/ipc/README,v 1.3 2003/07/24 22:04:09 tgl Exp $
Mon Jul 18 11:09:22 PDT 1988  W.KLAS

Cache invalidation synchronization routines:
===========================================

The cache synchronization is done using a message queue. Every
backend can register a message which then has to be read by
all backends. A message read by all backends is removed from the 
queue automatically. If a message has been lost because the buffer
was full, all backends that haven't read this message will be
told that they have to reset their cache state. This is done
at the time when they try to read the message queue.

The message queue is implemented as a shared buffer segment. Actually,
the queue is a circle to allow fast inserting, reading (invalidate data) and
maintaining the buffer.