Revert unintentional change in increasing usage count during pin of buffers,

Teodor Sigaev <teodor@sigaev.ru>

Commit: 09f8bb5b3617269eb750b395fb561a2e532af221
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2017-03-20T15:49:41Z
Releases: 9.6.3
Revert unintentional change in increasing usage count during pin of buffers,
this makes buffer access strategy have no effect.
Change was a part of commit 48354581a49c30f5757c203415aa8412d85b0f70 during 9.6
release cycle, so backpath to 9.6

Reported-by: Jim Nasby
Author: Alexander Korotkov
Reviewed-by: Jim Nasby, Andres Freund

https://commitfest.postgresql.org/13/1029/

Files

PathChange+/−
src/backend/storage/buffer/bufmgr.c modified +15 −3