pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #18582: fixed range of search for empty slot in SLRU
4+ messages / 3 participants
[nested] [flat]

Commits from this thread:
  2024-08-19 7b063ff26a fad0da271e  Search for SLRU page only in its own bank
* BUG #18582: fixed range of search for empty slot in SLRU
@ 2024-08-13 12:29 PG Bug reporting form <noreply@postgresql.org>
  2024-08-13 18:32 ` Re: BUG #18582: fixed range of search for empty slot in SLRU Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 1 reply; 4+ messages in thread

From: PG Bug reporting form @ 2024-08-13 12:29 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: sergey.sargsyan.2001@gmail.com

The following bug has been logged on the website:

Bug reference:      18582
Logged by:          Sergey Sargsyan
Email address:      sergey.sargsyan.2001@gmail.com
PostgreSQL version: 17beta3
Operating system:   Linux
Description:        

pageno should be searched only inside its own bank, because it may never
appear in other banks.

https://github.com/postgres/postgres/pull/174



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18582: fixed range of search for empty slot in SLRU
  2024-08-13 12:29 BUG #18582: fixed range of search for empty slot in SLRU PG Bug reporting form <noreply@postgresql.org>
@ 2024-08-13 18:32 ` Alvaro Herrera <alvherre@alvh.no-ip.org>
  2024-08-19 01:20   ` Re: BUG #18582: fixed range of search for empty slot in SLRU Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Alvaro Herrera @ 2024-08-13 18:32 UTC (permalink / raw)
  To: sergey.sargsyan.2001@gmail.com, pgsql-bugs@lists.postgresql.org, Dilip Kumar <dilipbalaut@gmail.com>

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18582: fixed range of search for empty slot in SLRU
  2024-08-13 12:29 BUG #18582: fixed range of search for empty slot in SLRU PG Bug reporting form <noreply@postgresql.org>
  2024-08-13 18:32 ` Re: BUG #18582: fixed range of search for empty slot in SLRU Alvaro Herrera <alvherre@alvh.no-ip.org>
@ 2024-08-19 01:20   ` Alvaro Herrera <alvherre@alvh.no-ip.org>
  2024-08-19 09:40     ` Re: BUG #18582: fixed range of search for empty slot in SLRU Sergey Sargsyan <sergey.sargsyan.2001@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Alvaro Herrera @ 2024-08-19 01:20 UTC (permalink / raw)
  To: sergey.sargsyan.2001@gmail.com, pgsql-bugs@lists.postgresql.org, Dilip Kumar <dilipbalaut@gmail.com>

On 2024-Aug-13, Alvaro Herrera wrote:

> 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.

Thanks for reporting this.  I have pushed it now.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"El Maquinismo fue proscrito so pena de cosquilleo hasta la muerte"
(Ijon Tichy en Viajes, Stanislaw Lem)





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18582: fixed range of search for empty slot in SLRU
  2024-08-13 12:29 BUG #18582: fixed range of search for empty slot in SLRU PG Bug reporting form <noreply@postgresql.org>
  2024-08-13 18:32 ` Re: BUG #18582: fixed range of search for empty slot in SLRU Alvaro Herrera <alvherre@alvh.no-ip.org>
  2024-08-19 01:20   ` Re: BUG #18582: fixed range of search for empty slot in SLRU Alvaro Herrera <alvherre@alvh.no-ip.org>
@ 2024-08-19 09:40     ` Sergey Sargsyan <sergey.sargsyan.2001@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Sergey Sargsyan @ 2024-08-19 09:40 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: pgsql-bugs@lists.postgresql.org, Dilip Kumar <dilipbalaut@gmail.com>

Glad to be of help.


пн, 19 авг. 2024 г. в 04:20, Alvaro Herrera <alvherre@alvh.no-ip.org>:

> On 2024-Aug-13, Alvaro Herrera wrote:
>
> > 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.
>
> Thanks for reporting this.  I have pushed it now.
>
> --
> Álvaro Herrera         PostgreSQL Developer  —
> https://www.EnterpriseDB.com/
> "El Maquinismo fue proscrito so pena de cosquilleo hasta la muerte"
> (Ijon Tichy en Viajes, Stanislaw Lem)
>


-- 
Sargsyan Serezha           Platform V Pangolin SE —
platformv.sbertech.ru/products/rabota-s-dannymi/pangolin

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2024-08-19 09:40 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-13 12:29 BUG #18582: fixed range of search for empty slot in SLRU PG Bug reporting form <noreply@postgresql.org>
2024-08-13 18:32 ` Alvaro Herrera <alvherre@alvh.no-ip.org>
2024-08-19 01:20   ` Alvaro Herrera <alvherre@alvh.no-ip.org>
2024-08-19 09:40     ` Sergey Sargsyan <sergey.sargsyan.2001@gmail.com>

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