summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2025-10-02 08:16:20 +0000
committerMichael Paquier2025-10-02 08:16:20 +0000
commit3f431109dc634918f4a216963c789e842a70ea65 (patch)
tree9ca6f825838248855b0b9df35436460d64ae236b
parent48566180efff2f414ce806ca7705e811451b82ad (diff)
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 <reshkekirill@gmail.com> Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru> Discussion: https://postgr.es/m/CALdSSPgnAt5L=D_xGXRXLYO5FK1H31_eYEESxdU1n-r4g+6GqA@mail.gmail.com
-rw-r--r--src/backend/access/gin/ginxlog.c1
1 files changed, 0 insertions, 1 deletions
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);
}