aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-01-04 16:29:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-01-04 16:29:42 +0000
commit7c8927bf08b46cfa839aaee81b71bb42e2df4eb5 (patch)
tree2a8b8dd217efe4540779d2268d64ea9faf9843a7
parenta252994abeebc4832e2c9c09754d02ace00970b9 (diff)
downloadpostgresql-7c8927bf08b46cfa839aaee81b71bb42e2df4eb5.tar.gz
postgresql-7c8927bf08b46cfa839aaee81b71bb42e2df4eb5.zip
Fix some small typos in comments. Greg Stark
-rw-r--r--src/backend/access/gin/ginvacuum.c6
-rw-r--r--src/backend/access/heap/tuptoaster.c6
-rw-r--r--src/include/catalog/pg_type.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/access/gin/ginvacuum.c b/src/backend/access/gin/ginvacuum.c
index 225dbc60477..a1749804ea1 100644
--- a/src/backend/access/gin/ginvacuum.c
+++ b/src/backend/access/gin/ginvacuum.c
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.9 2006/11/30 16:22:32 teodor Exp $
+ * $PostgreSQL: pgsql/src/backend/access/gin/ginvacuum.c,v 1.10 2007/01/04 16:29:41 tgl Exp $
*-------------------------------------------------------------------------
*/
@@ -34,8 +34,8 @@ typedef struct
/*
* 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 responsible to
- * enough space. *cleaned and items may point to the same
+ * if it's needed. In case of *cleaned!=NULL caller is responsible to
+ * have allocated enough space. *cleaned and items may point to the same
* memory address.
*/
diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c
index 49ae91f4062..5ace333cf54 100644
--- a/src/backend/access/heap/tuptoaster.c
+++ b/src/backend/access/heap/tuptoaster.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/heap/tuptoaster.c,v 1.66 2006/10/05 23:33:33 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/heap/tuptoaster.c,v 1.67 2007/01/04 16:29:41 tgl Exp $
*
*
* INTERFACE ROUTINES
@@ -1113,7 +1113,7 @@ toast_delete_datum(Relation rel, Datum value)
return;
/*
- * Open the toast relation and it's index
+ * Open the toast relation and its index
*/
toastrel = heap_open(attr->va_content.va_external.va_toastrelid,
RowExclusiveLock);
@@ -1337,7 +1337,7 @@ toast_fetch_datum_slice(varattrib *attr, int32 sliceoffset, int32 length)
endoffset = (sliceoffset + length - 1) % TOAST_MAX_CHUNK_SIZE;
/*
- * Open the toast relation and it's index
+ * Open the toast relation and its index
*/
toastrel = heap_open(attr->va_content.va_external.va_toastrelid,
AccessShareLock);
diff --git a/src/include/catalog/pg_type.h b/src/include/catalog/pg_type.h
index a961bf01ed3..8085f036c5e 100644
--- a/src/include/catalog/pg_type.h
+++ b/src/include/catalog/pg_type.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.177 2007/01/03 01:19:51 darcy Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.178 2007/01/04 16:29:42 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -244,7 +244,7 @@ typedef FormData_pg_type *Form_pg_type;
* ----------------
*/
-/* keep the following ordered by OID so that later changes can be made easier*/
+/* 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