pgsql: bufmgr: Fix use of wrong variable in GetPrivateRefCountEntrySlow

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: bufmgr: Fix use of wrong variable in GetPrivateRefCountEntrySlow
Дата
Msg-id E1w0RXx-003Who-2S@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления: