From 3f431109dc634918f4a216963c789e842a70ea65 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Thu, 2 Oct 2025 17:16:20 +0900 Subject: [PATCH] Remove useless pointer update in ginxlog.c Oversight in 2c03216d8311, when the redo code of GIN got refactored for the new WAL format where block information has been standardized, as the payload data got tracked for each block after the change, and not in the whole record. This is just a cleanup. Author: Kirill Reshke Reviewed-by: Andrey Borodin Discussion: https://postgr.es/m/CALdSSPgnAt5L=D_xGXRXLYO5FK1H31_eYEESxdU1n-r4g+6GqA@mail.gmail.com --- src/backend/access/gin/ginxlog.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/access/gin/ginxlog.c b/src/backend/access/gin/ginxlog.c index 4478e928204..fa293ee79d5 100644 --- a/src/backend/access/gin/ginxlog.c +++ b/src/backend/access/gin/ginxlog.c @@ -368,7 +368,6 @@ ginRedoInsert(XLogReaderState *record) #endif payload += sizeof(BlockIdData); rightChildBlkno = BlockIdGetBlockNumber((BlockId) payload); - payload += sizeof(BlockIdData); ginRedoClearIncompleteSplit(record, 1); } -- 2.47.3