git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f68d85b) | patch
Use more consistently int64 for page numbers in SLRU-related code
2024年7月23日 08:59:05 +0000 (17:59 +0900)
2024年7月23日 08:59:05 +0000 (17:59 +0900)
commit 3937cadfd4383fd32f3fd8d8dc5efc32b3d12664
Use more consistently int64 for page numbers in SLRU-related code

clog.c, async.c and predicate.c included some SLRU page numbers still
handled as 4-byte integers, while int64 should be used for this purpose.

These holes have been introduced in 4ed8f0913bfd, that has introduced
the use of 8-byte integers for SLRU page numbers, still forgot about the
code paths updated by this commit.

Reported-by: Noah Misch
Author: Aleksander Alekseev, Michael Paquier
Discussion: https://postgr.es/m/20240626002747.dc.nmisch@google.com
Backpatch-through: 17
src/backend/access/transam/clog.c diff | blob | blame | history
src/backend/commands/async.c diff | blob | blame | history
src/backend/storage/lmgr/predicate.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /