2a275e6d3c
Fix pg_buffercache to release buffer partition locks in reverse order,
...
and add a note about why. This is not tremendously important right now,
probably, but it will get more urgent if NUM_BUFFER_PARTITIONS is increased
as much as proposed.
2007-07-16 21:20:36 +00:00
b0194ab110
Add the usage count statistics to the information available in
...
contrib/pgbuffercache.
Greg Smith
2007-04-07 16:09:14 +00:00
bd95c74985
Code cleanup for pg_buffercache, from Mark Kirkwood.
2006-10-22 17:49:21 +00:00
def651f48f
Clean up local redeclarations of variables with DLLIMPORT, per report
...
from Magnus that MSVC complains about this.
2006-10-19 18:32:48 +00:00
f99a569a2e
pgindent run for 8.2.
2006-10-04 00:30:14 +00:00
10b9ca3d05
Split the buffer mapping table into multiple separately lockable
...
partitions, as per discussion. Passes functionality checks, but
I don't have any performance data yet.
2006-07-23 03:07:58 +00:00
a0ffab351e
Magic blocks don't do us any good unless we use 'em ... so install one
...
in every shared library.
2006-05-30 22:12:16 +00:00
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
07eeb9d109
Do all accesses to shared buffer headers through volatile-qualified
...
pointers, to ensure that compilers won't rearrange accesses to occur
while we're not holding the buffer header spinlock. It's probably
not necessary to mark volatile in every single place in bufmgr.c,
but better safe than sorry. Per trouble report from Kevin Grittner.
2005-10-12 16:45:14 +00:00
12a323b7a8
Change relblocknumber field of pg_buffercache view from numeric to int8
...
for efficiency's sake. Mark Kirkwood.
2005-05-31 00:07:47 +00:00
f5dbbdcf00
Remove pg_buffercache_pages.h -- patch from Mark Kirkwood.
2005-04-01 08:41:19 +00:00
e1b398c6f5
Fix build error in pg_buffercache on Win32 (native and cygwin). From
...
Mark Kirkwood.
2005-03-31 00:45:26 +00:00
de004e44e2
Add pg_buffercache contrib module, from Mark Kirkwood.
2005-03-12 15:36:24 +00:00