]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Search for SLRU page only in its own bank
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 19 Aug 2024 00:49:57 +0000 (20:49 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 19 Aug 2024 01:04:57 +0000 (21:04 -0400)
commitfad0da271e006015fcc25724aca2871d6dec04f5
treed5c8cfaee92020fe793990acdaf9acf4333c5975
parent4b6aa0cffc04e8a5e1e876f3ba8cb11bd61ac40b
Search for SLRU page only in its own bank

One of the two slot scans in SlruSelectLRUPage was not walking only the
slots in the specific bank where the buffer could be; change it to do
that.

Oversight in 53c2a97a9266.

Author: Sergey Sargsyan <sergey.sargsyan.2001@gmail.com>
Discussion: https://postgr.es/m/18582-5f301dd30ba91a38@postgresql.org
src/backend/access/transam/slru.c