Patch to implement buffer cache recycling for scans, as being discussed
on pgsql-hackers.
Applies cleanly to cvstip, passes make installcheck when used by default
for all SeqScans. Tested with scan_recycle_buffers = 1,4,8,16
Should be regarded as WIP. Presumably there are some failure conditions
that require the buffer to be reset; these have not yet been considered.
No docs.
SET scan_recyle_buffers = N
default = 0
8 <= N <= 64 would yield benefits according to earlier results
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com