From: Michael Paquier Date: Thu, 2 Oct 2025 08:16:20 +0000 (+0900) Subject: Remove useless pointer update in ginxlog.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f431109dc634918f4a216963c789e842a70ea65;p=thirdparty%2Fpostgresql.git 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 --- 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); }