On Thu, 3 Dec 2026 at 16:06, Peter Eisentraut <[email protected]> wrote: > > I have found several cases where a variable or C function argument was > declared as an integer but should be a floating-point type, or vice > versa. See attached patches. I think most of these are harmless in > practice. The one in gistbuild.c is technically a bug, but it's in > quite rare circumstances and there is no correctness issue, so it's > probably not worth bothering with backpatching.
Hi! I checked GIN & GiST patches. For GIN num tuple counter - remainig GinBuildState.bs_numtuples / GinBuildShared.indtuples are still double. I think this change makes these two places inconsistent so maybe leave as-is? For GiST itupAvgSize becomes in sync with calculatePagesPerBuffer analogous variable - looks like declaring it as Size is typo. -- Best regards, Kirill Reshke
