Re: BUG #18582: fixed range of search for empty slot in SLRU

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: sergey(dot)sargsyan(dot)2001(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Subject: Re: BUG #18582: fixed range of search for empty slot in SLRU
Date: 2024-08-13 18:32:01
Message-ID: 202408131832.otg7uksezbfw@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2024-Aug-13, PG Bug reporting form wrote:

> pageno should be searched only inside its own bank, because it may never
> appear in other banks.
>
> https://github.com/postgres/postgres/pull/174

For the archives, the patch proposed in the pull request is attached
here.

I agree with this patch. This is just an innocuous oversight in commit
53c2a97a9266. Dilip?

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"El sentido de las cosas no viene de las cosas, sino de
las inteligencias que las aplican a sus problemas diarios
en busca del progreso." (Ernesto Hernández-Novich)

Attachment Content-Type Size
0001-Search-for-SLRU-page-only-in-its-own-bank.patch text/x-diff 1.0 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2024-08-13 19:23:24 Re: a row is not inserted in nested INSERT ON CONFLICT
Previous Message Tomas Vondra 2024-08-13 18:31:54 Re: FDW INSERT batching can change behavior