summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorHeikki Linnakangas2015-05-20 13:18:11 +0000
committerHeikki Linnakangas2015-05-20 13:56:22 +0000
commit4fc72cc7bb9d2105261b8ee45558af50d788cd19 (patch)
tree57f1b8dda880693ac01ead8945ad18734e24677f /src/include/access
parentf6a54fefc299b933052885bb0532c476d382cc71 (diff)
Collection of typo fixes.
Use "a" and "an" correctly, mostly in comments. Two error messages were also fixed (they were just elogs, so no translation work required). Two function comments in pg_proc.h were also fixed. Etsuro Fujita reported one of these, but I found a lot more with grep. Also fix a few other typos spotted while grepping for the a/an typos. For example, "consists out of ..." -> "consists of ...". Plus a "though"/ "through" mixup reported by Euler Taveira. Many of these typos were in old code, which would be nice to backpatch to make future backpatching easier. But much of the code was new, and I didn't feel like crafting separate patches for each branch. So no backpatching.
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/gin_private.h2
-rw-r--r--src/include/access/rewriteheap.h2
-rw-r--r--src/include/access/rmgrlist.h2
-rw-r--r--src/include/access/xact.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/include/access/gin_private.h b/src/include/access/gin_private.h
index c9f20266f86..5f214d779ab 100644
--- a/src/include/access/gin_private.h
+++ b/src/include/access/gin_private.h
@@ -429,7 +429,7 @@ typedef struct
* whose split this insertion finishes. As BlockIdData[2] (beware of
* adding fields before this that would make them not 16-bit aligned)
*
- * 2. an ginxlogInsertEntry or ginxlogRecompressDataLeaf struct, depending
+ * 2. a ginxlogInsertEntry or ginxlogRecompressDataLeaf struct, depending
* on tree type.
*
* NB: the below structs are only 16-bit aligned when appended to a
diff --git a/src/include/access/rewriteheap.h b/src/include/access/rewriteheap.h
index 4db495ef418..91f4051d75d 100644
--- a/src/include/access/rewriteheap.h
+++ b/src/include/access/rewriteheap.h
@@ -41,7 +41,7 @@ typedef struct LogicalRewriteMappingData
} LogicalRewriteMappingData;
/* ---
- * The filename consists out of the following, dash separated,
+ * The filename consists of the following, dash separated,
* components:
* 1) database oid or InvalidOid for shared relations
* 2) the oid of the relation
diff --git a/src/include/access/rmgrlist.h b/src/include/access/rmgrlist.h
index 47033da017b..c083216265b 100644
--- a/src/include/access/rmgrlist.h
+++ b/src/include/access/rmgrlist.h
@@ -21,7 +21,7 @@
* entries should be added at the end, to avoid changing IDs of existing
* entries.
*
- * Changes to this list possibly need a XLOG_PAGE_MAGIC bump.
+ * Changes to this list possibly need an XLOG_PAGE_MAGIC bump.
*/
/* symbol name, textual name, redo, desc, identify, startup, cleanup */
diff --git a/src/include/access/xact.h b/src/include/access/xact.h
index 668e987f488..a518a8613b3 100644
--- a/src/include/access/xact.h
+++ b/src/include/access/xact.h
@@ -167,7 +167,7 @@ typedef struct xl_xact_assignment
* portion of the records won't need all possible pieces of information. So we
* only include what's needed.
*
- * A minimal commit/abort record only consists out of a xl_xact_commit/abort
+ * A minimal commit/abort record only consists of a xl_xact_commit/abort
* struct. The presence of additional information is indicated by bits set in
* 'xl_xact_xinfo->xinfo'. The presence of the xinfo field itself is signalled
* by a set XLOG_XACT_HAS_INFO bit in the xl_info field.