aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/amcheck/verify_heapam.c2
-rw-r--r--contrib/sepgsql/selinux.c2
-rw-r--r--src/backend/catalog/objectaddress.c2
-rw-r--r--src/backend/catalog/pg_type.c2
-rw-r--r--src/backend/storage/ipc/procarray.c2
-rwxr-xr-xsrc/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl2
-rw-r--r--src/include/access/gist.h2
-rw-r--r--src/include/replication/logicalproto.h4
8 files changed, 9 insertions, 9 deletions
diff --git a/contrib/amcheck/verify_heapam.c b/contrib/amcheck/verify_heapam.c
index 570f44b59ee..bc34bb0c839 100644
--- a/contrib/amcheck/verify_heapam.c
+++ b/contrib/amcheck/verify_heapam.c
@@ -500,7 +500,7 @@ sanity_check_relation(Relation rel)
/*
* Record a single corruption found in the table. The values in ctx should
* reflect the location of the corruption, and the msg argument should contain
- * a human readable description of the corruption.
+ * a human-readable description of the corruption.
*
* The msg argument is pfree'd by this function.
*/
diff --git a/contrib/sepgsql/selinux.c b/contrib/sepgsql/selinux.c
index 2695e88f23c..64ae53e867d 100644
--- a/contrib/sepgsql/selinux.c
+++ b/contrib/sepgsql/selinux.c
@@ -892,7 +892,7 @@ sepgsql_compute_create(const char *scontext,
* tcontext: security label of the object being referenced
* tclass: class code (SEPG_CLASS_*) of the object being referenced
* required: a mask of required permissions (SEPG_<class>__<perm>)
- * audit_name: a human readable object name for audit logs, or NULL.
+ * audit_name: a human-readable object name for audit logs, or NULL.
* abort_on_violation: true, if error shall be raised on access violation
*/
bool
diff --git a/src/backend/catalog/objectaddress.c b/src/backend/catalog/objectaddress.c
index 3662a8ebb6d..a5eccdffd0c 100644
--- a/src/backend/catalog/objectaddress.c
+++ b/src/backend/catalog/objectaddress.c
@@ -588,7 +588,7 @@ static const ObjectPropertyType ObjectProperty[] =
true
},
{
- "extented statistics",
+ "extended statistics",
StatisticExtRelationId,
StatisticExtOidIndexId,
STATEXTOID,
diff --git a/src/backend/catalog/pg_type.c b/src/backend/catalog/pg_type.c
index 44eed1a0b34..aeb4a54f635 100644
--- a/src/backend/catalog/pg_type.c
+++ b/src/backend/catalog/pg_type.c
@@ -212,7 +212,7 @@ TypeCreate(Oid newTypeOid,
bool isImplicitArray,
Oid arrayType,
Oid baseType,
- const char *defaultTypeValue, /* human readable rep */
+ const char *defaultTypeValue, /* human-readable rep */
char *defaultTypeBin, /* cooked rep */
bool passedByValue,
char alignment,
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index 05661e379e5..66113fb8d36 100644
--- a/src/backend/storage/ipc/procarray.c
+++ b/src/backend/storage/ipc/procarray.c
@@ -1686,7 +1686,7 @@ ComputeXidHorizons(ComputeXidHorizonsResult *h)
* loop over all PGPROCs it is cheaper to just initialize to the
* current top-level xid any.
*
- * Without an assigned xid we could use a horizon as agressive as
+ * Without an assigned xid we could use a horizon as aggressive as
* ReadNewTransactionid(), but we can get away with the much cheaper
* latestCompletedXid + 1: If this backend has no xid there, by
* definition, can't be any newer changes in the temp table than
diff --git a/src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl b/src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl
index d8bed27e1b1..3414796ffd3 100755
--- a/src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl
+++ b/src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl
@@ -80,7 +80,7 @@ foreach my $i (@$ct932)
}
}
-# extract only SJIS characers
+# extract only SJIS characters
foreach my $i (grep defined $_->{sjis}, @mapping)
{
my $sjis = $i->{sjis};
diff --git a/src/include/access/gist.h b/src/include/access/gist.h
index 4f6dae9a76b..14b1190cd7e 100644
--- a/src/include/access/gist.h
+++ b/src/include/access/gist.h
@@ -80,7 +80,7 @@ typedef GISTPageOpaqueData *GISTPageOpaque;
* Maximum possible sizes for GiST index tuple and index key. Calculation is
* based on assumption that GiST page should fit at least 4 tuples. In theory,
* GiST index can be functional when page can fit 3 tuples. But that seems
- * rather inefficent, so we use a bit conservative estimate.
+ * rather inefficient, so we use a bit conservative estimate.
*
* The maximum size of index key is true for unicolumn index. Therefore, this
* estimation should be used to figure out which maximum size of GiST index key
diff --git a/src/include/replication/logicalproto.h b/src/include/replication/logicalproto.h
index cca13dae964..1f2535df800 100644
--- a/src/include/replication/logicalproto.h
+++ b/src/include/replication/logicalproto.h
@@ -40,8 +40,8 @@
*
* Note: though this is an enum, the values are used to identify message types
* in logical replication protocol, which uses a single byte to identify a
- * message type. Hence the values should be single byte wide and preferrably
- * human readable characters.
+ * message type. Hence the values should be single-byte wide and preferably
+ * human-readable characters.
*/
typedef enum LogicalRepMsgType
{