summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/attnum.h2
-rw-r--r--src/include/access/xact.h2
-rw-r--r--src/include/mb/pg_wchar.h2
-rw-r--r--src/include/storage/s_lock.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/include/access/attnum.h b/src/include/access/attnum.h
index 82e811dd0fe..0fe27ecfbae 100644
--- a/src/include/access/attnum.h
+++ b/src/include/access/attnum.h
@@ -46,7 +46,7 @@ typedef int16 AttrNumber;
* Returns the attribute offset for an attribute number.
*
* Note:
- * Assumes the attribute number is for an user defined attribute.
+ * Assumes the attribute number is for a user defined attribute.
*/
#define AttrNumberGetAttrOffset(attNum) \
( \
diff --git a/src/include/access/xact.h b/src/include/access/xact.h
index fdf3ea32288..8da6aa952f0 100644
--- a/src/include/access/xact.h
+++ b/src/include/access/xact.h
@@ -168,7 +168,7 @@ typedef struct xl_xact_assignment
* '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.
*
- * NB: All the individual data chunks should be be sized to multiples of
+ * NB: All the individual data chunks should be sized to multiples of
* sizeof(int) and only require int32 alignment.
*/
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h
index 254cf678d61..f7222fc1779 100644
--- a/src/include/mb/pg_wchar.h
+++ b/src/include/mb/pg_wchar.h
@@ -88,7 +88,7 @@ typedef unsigned int pg_wchar;
* interoperable anyway).
*
* Note that XEmacs's implementation is different from what emacs does.
- * We follow emacs's implementaion, rathter than XEmacs's.
+ * We follow emacs's implementation, rather than XEmacs's.
*----------------------------------------------------
*/
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index f4dc0dbedc9..c63cf54c8eb 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -356,8 +356,8 @@ tas(volatile slock_t *lock)
/*
* Solaris has always run sparc processors in TSO (total store) mode, but
* linux didn't use to and the *BSDs still don't. So, be careful about
- * acquire/release semantics. The CPU will treat superflous membars as NOPs,
- * so it's just code space.
+ * acquire/release semantics. The CPU will treat superfluous membars as
+ * NOPs, so it's just code space.
*/
#define HAS_TEST_AND_SET