postgresql/contrib/pg_buffercache
Robert Haas ea9df812d8 Relax the requirement that all lwlocks be stored in a single array.
This makes it possible to store lwlocks as part of some other data
structure in the main shared memory segment, or in a dynamic shared
memory segment.  There is still a main LWLock array and this patch does
not move anything out of it, but it provides necessary infrastructure
for doing that in the future.

This change is likely to increase the size of LWLockPadded on some
platforms, especially 32-bit platforms where it was previously only
16 bytes.

Patch by me.  Review by Andres Freund and KaiGai Kohei.
2014-01-27 11:07:44 -05:00
..
Makefile Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00
pg_buffercache_pages.c Relax the requirement that all lwlocks be stored in a single array. 2014-01-27 11:07:44 -05:00
pg_buffercache--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
pg_buffercache--unpackaged--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
pg_buffercache.control Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00