diff options
Diffstat (limited to 'src/backend/access/gin/ginxlog.c')
-rw-r--r-- | src/backend/access/gin/ginxlog.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/access/gin/ginxlog.c b/src/backend/access/gin/ginxlog.c index b648af1ff65..c945b282721 100644 --- a/src/backend/access/gin/ginxlog.c +++ b/src/backend/access/gin/ginxlog.c @@ -205,8 +205,8 @@ ginRedoRecompress(Page page, ginxlogRecompressDataLeaf *data) while (segno < a_segno) { /* - * Once modification is started and page tail is copied, we've - * to copy unmodified segments. + * Once modification is started and page tail is copied, we've to + * copy unmodified segments. */ segsize = SizeOfGinPostingList(oldseg); if (tailCopy) @@ -257,12 +257,12 @@ ginRedoRecompress(Page page, ginxlogRecompressDataLeaf *data) } /* - * We're about to start modification of the page. So, copy tail of the - * page if it's not done already. + * We're about to start modification of the page. So, copy tail of + * the page if it's not done already. */ if (!tailCopy && segptr != segmentend) { - int tailSize = segmentend - segptr; + int tailSize = segmentend - segptr; tailCopy = (Pointer) palloc(tailSize); memcpy(tailCopy, segptr, tailSize); @@ -304,7 +304,7 @@ ginRedoRecompress(Page page, ginxlogRecompressDataLeaf *data) segptr = (Pointer) oldseg; if (segptr != segmentend && tailCopy) { - int restSize = segmentend - segptr; + int restSize = segmentend - segptr; Assert(writePtr + restSize <= PageGetSpecialPointer(page)); memcpy(writePtr, segptr, restSize); |