Re: Fix bank selection logic in SLRU

x4mmm@yandex-team.ru

From: "Andrey M. Borodin" <x4mmm@yandex-team.ru>
To: Yura Sokolov <y.sokolov@postgrespro.ru>
Cc: Dilip Kumar <dilipbalaut@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2024-12-19T12:10:05Z
Lists: pgsql-hackers

> On 19 Dec 2024, at 15:37, Yura Sokolov <y.sokolov@postgrespro.ru> wrote:
> 
> So, there's no more than 8192 banks at the moment.

OK, but still current type indicates bitwise usage, while struct member is used as a number.


Best regards, Andrey Borodin.


Commits

  1. Fix SLRU bank selection code