Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix some typos
authorMichael Paquier <michael@paquier.xyz>
Sat, 14 Nov 2020 02:43:10 +0000 (11:43 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 14 Nov 2020 02:43:10 +0000 (11:43 +0900)
Author: Daniel Gustafsson
Discussion: https://postgr.es/m/C36ADFDF-D09A-4EE5-B186-CB46C3653F4C@yesql.se

contrib/amcheck/verify_heapam.c
contrib/sepgsql/selinux.c
src/backend/catalog/objectaddress.c
src/backend/catalog/pg_type.c
src/backend/storage/ipc/procarray.c
src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl
src/include/access/gist.h
src/include/replication/logicalproto.h

index 570f44b59ee12a5bbac060f566b80db1258daa8a..bc34bb0c839cdcb7a457ea9901db16cc5084f8cc 100644 (file)
@@ -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.
  */
index 2695e88f23c9f50d503672d01d0e3ded7dd064b4..64ae53e867de0fa5b31545609a5da4d25f84d532 100644 (file)
@@ -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
index 3662a8ebb6deb21637372ebd38e27f9949caeae6..a5eccdffd0cb9dd3bb4aabcf5a276c5457a584eb 100644 (file)
@@ -588,7 +588,7 @@ static const ObjectPropertyType ObjectProperty[] =
        true
    },
    {
-       "extented statistics",
+       "extended statistics",
        StatisticExtRelationId,
        StatisticExtOidIndexId,
        STATEXTOID,
index 44eed1a0b34a57447b04b7627249a0f77ae1cc28..aeb4a54f635eb5c06059091f7d02034f80b1ded2 100644 (file)
@@ -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,
index 05661e379e502f14dea1f49fe78082911fd41434..66113fb8d36f1967a84905e752c143a9d7ffc558 100644 (file)
@@ -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
index d8bed27e1b1eb4dbb80c818aaf6b19af23407c23..3414796ffd356aea6d413154330928f11ca1447f 100755 (executable)
@@ -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};
index 4f6dae9a76b0cdd4e2f37263664cbbbadcf51ce5..14b1190cd7e7133807259a4532c47a9f2098a2ea 100644 (file)
@@ -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
index cca13dae964c36481850cc24262fda2f0e21bc88..1f2535df800e2739876c1307057821d4f5923c29 100644 (file)
@@ -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
 {