A few assorted typos and grammar corrections I caught while skimming source


Index: src/backend/access/gin/ginvacuum.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/access/gin/ginvacuum.c,v
retrieving revision 1.7
diff -c -r1.7 ginvacuum.c
*** src/backend/access/gin/ginvacuum.c  4 Oct 2006 00:29:48 -0000       1.7
--- src/backend/access/gin/ginvacuum.c  4 Jan 2007 12:45:44 -0000
***************
*** 34,40 ****
  /*
   * Cleans array of ItemPointer (removes dead pointers)
   * Results are always stored in *cleaned, which will be allocated
!  * if its needed. In case of *cleaned!=NULL caller is resposible to
   * enough space. *cleaned and items may point to the same
   * memory addres.
   */
--- 34,40 ----
  /*
   * Cleans array of ItemPointer (removes dead pointers)
   * Results are always stored in *cleaned, which will be allocated
!  * if it's needed. In case of *cleaned!=NULL caller is resposible to
   * enough space. *cleaned and items may point to the same
   * memory addres.
   */
Index: src/backend/access/heap/tuptoaster.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v
retrieving revision 1.66
diff -c -r1.66 tuptoaster.c
*** src/backend/access/heap/tuptoaster.c        5 Oct 2006 23:33:33 -0000       
1.66
--- src/backend/access/heap/tuptoaster.c        4 Jan 2007 12:45:45 -0000
***************
*** 1113,1119 ****
                return;
  
        /*
!        * Open the toast relation and it's index
         */
        toastrel = heap_open(attr->va_content.va_external.va_toastrelid,
                                                 RowExclusiveLock);
--- 1113,1119 ----
                return;
  
        /*
!        * Open the toast relation and its index
         */
        toastrel = heap_open(attr->va_content.va_external.va_toastrelid,
                                                 RowExclusiveLock);
***************
*** 1337,1343 ****
        endoffset = (sliceoffset + length - 1) % TOAST_MAX_CHUNK_SIZE;
  
        /*
!        * Open the toast relation and it's index
         */
        toastrel = heap_open(attr->va_content.va_external.va_toastrelid,
                                                 AccessShareLock);
--- 1337,1343 ----
        endoffset = (sliceoffset + length - 1) % TOAST_MAX_CHUNK_SIZE;
  
        /*
!        * Open the toast relation and its index
         */
        toastrel = heap_open(attr->va_content.va_external.va_toastrelid,
                                                 AccessShareLock);
Index: src/include/catalog/pg_type.h
===================================================================
RCS file: /projects/cvsroot/pgsql/src/include/catalog/pg_type.h,v
retrieving revision 1.172
diff -c -r1.172 pg_type.h
*** src/include/catalog/pg_type.h       4 Oct 2006 00:30:08 -0000       1.172
--- src/include/catalog/pg_type.h       4 Jan 2007 12:45:59 -0000
***************
*** 236,242 ****
   * ----------------
   */
  
! /* keep the following ordered by OID so that later changes can be made 
easier*/
  
  /* Make sure the typlen, typbyval, and typalign values here match the initial
     values for attlen, attbyval, and attalign in both places in pg_attribute.h
--- 236,242 ----
   * ----------------
   */
  
! /* keep the following ordered by OID so that later changes can be made more 
easily */
  
  /* Make sure the typlen, typbyval, and typalign values here match the initial
     values for attlen, attbyval, and attalign in both places in pg_attribute.h


-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to