pgsql: Revert unintentional change in increasing usage count during pin

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Revert unintentional change in increasing usage count during pin
Date: 2017-03-20 15:50:03
Message-ID: E1cpzZL-0001XL-V2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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/

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/09f8bb5b3617269eb750b395fb561a2e532af221

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-03-20 16:30:35 pgsql: Improve regression test coverage for TID scanning.
Previous Message Teodor Sigaev 2017-03-20 15:49:09 pgsql: Revert unintentional change in increasing usage count during pin