diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-08-19 12:34:52 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-08-19 12:34:52 +0900 |
commit | b7935bc10b78f3a44567d304df87fad3d53102dd (patch) | |
tree | d678fac06a96cfbd596a65e0f02db39d004ae006 /src/backend/access/transam/slru.c | |
parent | fad0da271e006015fcc25724aca2871d6dec04f5 (diff) |
Fix more holes with SLRU code in need of int64 for segment numbers
This is a continuation of c9e24573905b, containing changes included into
the proposed patch that have been missed in the actual commit. I have
managed to miss these diffs while doing a rebase of the original patch.
Thanks to Noah Misch, Peter Eisentraut and Alexander Korotkov for the
pokes.
Discussion: https://postgr.es/m/92fe572d-638e-4162-aef6-1c42a2936f25@eisentraut.org
Discussion: https://postgr.es/m/20240810175055.cd.nmisch@google.com
Backpatch-through: 17
Diffstat (limited to 'src/backend/access/transam/slru.c')
-rw-r--r-- | src/backend/access/transam/slru.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/slru.c b/src/backend/access/transam/slru.c index 27473009b00..e7f73bf4275 100644 --- a/src/backend/access/transam/slru.c +++ b/src/backend/access/transam/slru.c @@ -1532,7 +1532,7 @@ restart: did_write = false; for (int slotno = 0; slotno < shared->num_slots; slotno++) { - int pagesegno; + int64 pagesegno; int curbank = SlotGetBankNumber(slotno); /* |