On Mon, 28 May 2007, Tom Lane wrote:
> But maybe that could be fixed if the clock sweep doesn't touch the
> usage_count of a pinned buffer. Which in fact it may not do already ---
> didn't look.
StrategyGetBuffer doesn't care whether the buffer is pinned or not; it
decrements the usage_count regardless.
--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD