aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-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
-rw-r--r--src/include/catalog/pg_proc.h6
-rw-r--r--src/include/port/atomics/generic-gcc.h2
-rw-r--r--src/include/replication/reorderbuffer.h2
-rw-r--r--src/include/rewrite/prs2lock.h2
8 files changed, 10 insertions, 10 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.
diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h
index b5b93450ec3..0405027e01c 100644
--- a/src/include/catalog/pg_proc.h
+++ b/src/include/catalog/pg_proc.h
@@ -909,11 +909,11 @@ DESCR("larger of two");
DATA(insert OID = 516 ( array_smaller PGNSP PGUID 12 1 0 0 0 f f f f t f i 2 0 2277 "2277 2277" _null_ _null_ _null_ _null_ _null_ array_smaller _null_ _null_ _null_ ));
DESCR("smaller of two");
DATA(insert OID = 3277 ( array_position PGNSP PGUID 12 1 0 0 0 f f f f f f i 2 0 23 "2277 2283" _null_ _null_ _null_ _null_ _null_ array_position _null_ _null_ _null_ ));
-DESCR("returns a offset of value in array");
+DESCR("returns an offset of value in array");
DATA(insert OID = 3278 ( array_position PGNSP PGUID 12 1 0 0 0 f f f f f f i 3 0 23 "2277 2283 23" _null_ _null_ _null_ _null_ _null_ array_position_start _null_ _null_ _null_ ));
-DESCR("returns a offset of value in array with start index");
+DESCR("returns an offset of value in array with start index");
DATA(insert OID = 3279 ( array_positions PGNSP PGUID 12 1 0 0 0 f f f f f f i 2 0 1007 "2277 2283" _null_ _null_ _null_ _null_ _null_ array_positions _null_ _null_ _null_ ));
-DESCR("returns a array of offsets of some value in array");
+DESCR("returns an array of offsets of some value in array");
DATA(insert OID = 1191 ( generate_subscripts PGNSP PGUID 12 1 1000 0 0 f f f f t t i 3 0 23 "2277 23 16" _null_ _null_ _null_ _null_ _null_ generate_subscripts _null_ _null_ _null_ ));
DESCR("array subscripts generator");
DATA(insert OID = 1192 ( generate_subscripts PGNSP PGUID 12 1 1000 0 0 f f f f t t i 2 0 23 "2277 23" _null_ _null_ _null_ _null_ _null_ generate_subscripts_nodir _null_ _null_ _null_ ));
diff --git a/src/include/port/atomics/generic-gcc.h b/src/include/port/atomics/generic-gcc.h
index c9fc87b30d9..591c9fe1eb3 100644
--- a/src/include/port/atomics/generic-gcc.h
+++ b/src/include/port/atomics/generic-gcc.h
@@ -117,7 +117,7 @@ typedef struct pg_atomic_uint64
static inline bool
pg_atomic_test_set_flag_impl(volatile pg_atomic_flag *ptr)
{
- /* NB: only a acquire barrier, not a full one */
+ /* NB: only an acquire barrier, not a full one */
/* some platform only support a 1 here */
return __sync_lock_test_and_set(&ptr->value, 1) == 0;
}
diff --git a/src/include/replication/reorderbuffer.h b/src/include/replication/reorderbuffer.h
index 928b1ca170f..666c5f28419 100644
--- a/src/include/replication/reorderbuffer.h
+++ b/src/include/replication/reorderbuffer.h
@@ -245,7 +245,7 @@ typedef struct ReorderBufferTXN
/* ---
* Position in one of three lists:
* * list of subtransactions if we are *known* to be subxact
- * * list of toplevel xacts (can be a as-yet unknown subxact)
+ * * list of toplevel xacts (can be am as-yet unknown subxact)
* * list of preallocated ReorderBufferTXNs
* ---
*/
diff --git a/src/include/rewrite/prs2lock.h b/src/include/rewrite/prs2lock.h
index dbfb7b015aa..06fbc482589 100644
--- a/src/include/rewrite/prs2lock.h
+++ b/src/include/rewrite/prs2lock.h
@@ -18,7 +18,7 @@
/*
* RewriteRule -
- * holds a info for a rewrite rule
+ * holds an info for a rewrite rule
*
*/
typedef struct RewriteRule