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 isresposible to
37+ * if its needed. In case of *cleaned!=NULL caller isresponsible to
3838 * enough space. *cleaned and items may point to the same
39- * memoryaddres .
39+ * memoryaddress .
4040 */
4141
4242static uint32
@@ -195,7 +195,7 @@ ginVacuumPostingTreeLeaves(GinVacuumState *gvs, BlockNumber blkno, bool isRoot,
195195MarkBufferDirty (buffer );
196196END_CRIT_SECTION ();
197197
198- /* if root is a leaf page, we don't desirefuther processing */
198+ /* if root is a leaf page, we don't desirefurther processing */
199199if (!isRoot && GinPageGetOpaque (page )-> maxoff < FirstOffsetNumber )
200200hasVoidPage = 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 intotemprorary one.
462+ * then page is copied intotemporary 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
489489else if (GinGetNPosting (itup )> 0 )
490490{
491491/*
492- * if we already createtemrorary page, we will make changes in
492+ * if we already createtemporary page, we will make changes in
493493 * place
494494 */
495495ItemPointerData * cleaned = (tmppage == origpage ) ?NULL :GinGetPosting (itup );
@@ -508,7 +508,7 @@ ginVacuumEntryPage(GinVacuumState *gvs, Buffer buffer, BlockNumber *roots, uint3
508508if (tmppage == origpage )
509509{
510510/*
511- * On first difference we createtemprorary page in memory
511+ * On first difference we createtemporary page in memory
512512 * and copies content in to it.
513513 */
514514tmppage = GinPageGetCopyPage (origpage );