pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: sergey.sargsyan.2001@gmail.com, pgsql-bugs@lists.postgresql.org, Dilip Kumar <dilipbalaut@gmail.com>
Subject: Re: BUG #18582: fixed range of search for empty slot in SLRU
Date: Tue, 13 Aug 2024 14:32:01 -0400
Message-ID: <202408131832.otg7uksezbfw@alvherre.pgsql> (raw)
In-Reply-To: <18582-5f301dd30ba91a38@postgresql.org>

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)

Attachments:

  0001-Search-for-SLRU-page-only-in-its-own-bank.patch (text/x-diff, 0B) download

view thread (4+ messages)  latest in thread

Message-ID: <202408131832.otg7uksezbfw@alvherre.pgsql>
Permalink:  ../202408131832.otg7uksezbfw@alvherre.pgsql/
Also on:    postgresql.org/message-id/202408131832.otg7uksezbfw@alvherre.pgsql

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@alvh.no-ip.org, dilipbalaut@gmail.com
  Subject: Re: BUG #18582: fixed range of search for empty slot in SLRU
  In-Reply-To: <202408131832.otg7uksezbfw@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox