From d30b5311dedc959ba9a9308f2c9b08cf69044420 Mon Sep 17 00:00:00 2001
From: Tomas Vondra <tomas@vondra.me>
Date: Mon, 29 Sep 2025 23:46:04 +0200
Subject: [PATCH v20251001 15/25] BufFileLoadBuffer - comment

---
 src/backend/storage/file/buffile.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c
index 1b07ef0c801..c8d2999a64c 100644
--- a/src/backend/storage/file/buffile.c
+++ b/src/backend/storage/file/buffile.c
@@ -662,6 +662,9 @@ BufFileLoadBuffer(BufFile *file)
 			 * Read compressed data, curOffset differs with pos It reads less
 			 * data than it returns to caller So the curOffset must be
 			 * advanced here based on compressed size
+			 *
+			 * XXX I don't understand what this comment is meant to say. Maybe
+			 * it got broken by the earlier cleanup, not sure.
 			 */
 			nread = FileRead(thisfile,
 							 buff,
-- 
2.51.0

