pgsql: bufmgr: Fix use of wrong variable in GetPrivateRefCountEntrySlow - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: bufmgr: Fix use of wrong variable in GetPrivateRefCountEntrySlow
Date
Msg-id E1w0RXx-003Who-2S@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
bufmgr: Fix use of wrong variable in GetPrivateRefCountEntrySlow()

Unfortunately, in 30df61990c67, I made GetPrivateRefCountEntrySlow() set a
wrong cache hint when moving entries from the hash table to the faster array.
There are no correctness concerns due to this, just an unnecessary loss of
performance.

Noticed while testing the index prefetching patch.

Discussion: https://postgr.es/m/CAH2-Wz=g=JTSyDB4UtB5su2ZcvsS7VbP+ZMvvaG6ABoCb+s8Lw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6322a028fa437669022473be8af39bbd89b644c3

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: CREATE SUBSCRIPTION ... SERVER.
Next
From: Richard Guo
Date:
Subject: pgsql: Convert NOT IN sublinks to anti-joins when safe