88 * Portions Copyright (c) 1994, Regents of the University of California
99 *
1010 * IDENTIFICATION
11- * $PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.7 2006/10/04 00:29:48 momjian Exp $
11+ * $PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.8 2006/11/12 06:55:53 neilc Exp $
1212 *-------------------------------------------------------------------------
1313 */
1414
@@ -34,9 +34,9 @@ typedef struct
3434/*
3535 * Cleans array of ItemPointer (removes dead pointers)
3636 * Results are always stored in *cleaned, which will be allocated
37- * if its needed. In case of *cleaned!=NULL caller is resposible to
37+ * if its needed. In case of *cleaned!=NULL caller is responsible to
3838 * enough space. *cleaned and items may point to the same
39- * memory addres .
39+ * memory address .
4040 */
4141
4242static uint32
@@ -195,7 +195,7 @@ ginVacuumPostingTreeLeaves(GinVacuumState *gvs, BlockNumber blkno, bool isRoot,
195195 MarkBufferDirty (buffer );
196196 END_CRIT_SECTION ();
197197
198- /* if root is a leaf page, we don't desire futher processing */
198+ /* if root is a leaf page, we don't desire further processing */
199199 if (!isRoot && GinPageGetOpaque (page )-> maxoff < FirstOffsetNumber )
200200 hasVoidPage = TRUE;
201201 }
@@ -459,7 +459,7 @@ ginVacuumPostingTree(GinVacuumState *gvs, BlockNumber rootBlkno)
459459/*
460460 * returns modified page or NULL if page isn't modified.
461461 * Function works with original page until first change is occured,
462- * then page is copied into temprorary one.
462+ * then page is copied into temporary one.
463463 */
464464static Page
465465ginVacuumEntryPage (GinVacuumState * gvs , Buffer buffer , BlockNumber * roots , uint32 * nroot )
@@ -489,7 +489,7 @@ ginVacuumEntryPage(GinVacuumState *gvs, Buffer buffer, BlockNumber *roots, uint3
489489 else if (GinGetNPosting (itup ) > 0 )
490490 {
491491 /*
492- * if we already create temrorary page, we will make changes in
492+ * if we already create temporary page, we will make changes in
493493 * place
494494 */
495495 ItemPointerData * cleaned = (tmppage == origpage ) ? NULL : GinGetPosting (itup );
@@ -508,7 +508,7 @@ ginVacuumEntryPage(GinVacuumState *gvs, Buffer buffer, BlockNumber *roots, uint3
508508 if (tmppage == origpage )
509509 {
510510 /*
511- * On first difference we create temprorary page in memory
511+ * On first difference we create temporary page in memory
512512 * and copies content in to it.
513513 */
514514 tmppage = GinPageGetCopyPage (origpage );
0 commit comments