Re: Standardize type of variable when extending Buffers
Gurjeet Singh <gurjeet@singh.im>
From: Gurjeet Singh <gurjeet@singh.im>
To: Ranier Vilela <ranier.vf@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Date: 2023-07-07T18:29:16Z
Lists: pgsql-hackers
On Fri, Jul 7, 2023 at 6:12 AM Ranier Vilela <ranier.vf@gmail.com> wrote: > > Hi, > > This has already been discussed in [1]. > But I thought it best to start a new thread. > > The commit 31966b1 introduced the infrastructure to extend > buffers. > But the patch mixed types with int and uint32. > The correct type of the variable counter is uint32. > > Fix by standardizing the int type to uint32. > > patch attached. LGTM. +CC Kyotaro, as they were involved in the previous discussion. > > [1] https://www.postgresql.org/message-id/CAEudQAr_oWHpZk4uumZijYS362gp4KHAah-yUe08CQY4a4SsOQ%40mail.gmail.com Best regards, Gurjeet http://Gurje.et
Commits
-
Standardize type of extend_by counter
- 9847ca2c79be 17.0 landed
-
bufmgr: Introduce infrastructure for faster relation extension
- 31966b151e6a 16.0 cited