Assorted typos

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Assorted typos
Date: 2007-01-04 12:52:24
Message-ID: 874pr7vtrr.fsf@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


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

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Guillaume Smet 2007-01-04 12:58:12 Re: Assorted typos
Previous Message Jaime Casanova 2007-01-04 04:33:36 Re: Tablespace for temporary objects and sort files