1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-09 06:21:09 +03:00

Fix more holes with SLRU code in need of int64 for segment numbers

This is a continuation of c9e2457390, 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
This commit is contained in:
Michael Paquier
2024-08-19 12:34:18 +09:00
parent 7b063ff26a
commit bd06cc338d
2 changed files with 7 additions and 7 deletions

View File

@@ -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);
/*