Skip to content

Commit 788dd0b

Browse files
committed
Fix some typos
Author: Daniel Gustafsson Discussion: https://postgr.es/m/C36ADFDF-D09A-4EE5-B186-CB46C3653F4C@yesql.se
1 parent ec0294f commit 788dd0b

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

contrib/amcheck/verify_heapam.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ sanity_check_relation(Relation rel)
500500
/*
501501
* Record a single corruption found in the table. The values in ctx should
502502
* reflect the location of the corruption, and the msg argument should contain
503-
* a human readable description of the corruption.
503+
* a human-readable description of the corruption.
504504
*
505505
* The msg argument is pfree'd by this function.
506506
*/

contrib/sepgsql/selinux.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ sepgsql_compute_create(const char *scontext,
892892
* tcontext: security label of the object being referenced
893893
* tclass: class code (SEPG_CLASS_*) of the object being referenced
894894
* required: a mask of required permissions (SEPG_<class>__<perm>)
895-
* audit_name: a human readable object name for audit logs, or NULL.
895+
* audit_name: a human-readable object name for audit logs, or NULL.
896896
* abort_on_violation: true, if error shall be raised on access violation
897897
*/
898898
bool

src/backend/catalog/objectaddress.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ static const ObjectPropertyType ObjectProperty[] =
588588
true
589589
},
590590
{
591-
"extented statistics",
591+
"extended statistics",
592592
StatisticExtRelationId,
593593
StatisticExtOidIndexId,
594594
STATEXTOID,

src/backend/catalog/pg_type.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ TypeCreate(Oid newTypeOid,
212212
bool isImplicitArray,
213213
Oid arrayType,
214214
Oid baseType,
215-
const char *defaultTypeValue, /* human readable rep */
215+
const char *defaultTypeValue, /* human-readable rep */
216216
char *defaultTypeBin, /* cooked rep */
217217
bool passedByValue,
218218
char alignment,

src/backend/storage/ipc/procarray.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ ComputeXidHorizons(ComputeXidHorizonsResult *h)
16861686
* loop over all PGPROCs it is cheaper to just initialize to the
16871687
* current top-level xid any.
16881688
*
1689-
* Without an assigned xid we could use a horizon as agressive as
1689+
* Without an assigned xid we could use a horizon as aggressive as
16901690
* ReadNewTransactionid(), but we can get away with the much cheaper
16911691
* latestCompletedXid + 1: If this backend has no xid there, by
16921692
* definition, can't be any newer changes in the temp table than

src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
}
8181
}
8282

83-
# extract only SJIS characers
83+
# extract only SJIS characters
8484
foreach my $i (grep defined $_->{sjis}, @mapping)
8585
{
8686
my $sjis = $i->{sjis};

src/include/access/gist.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ typedef GISTPageOpaqueData *GISTPageOpaque;
8080
* Maximum possible sizes for GiST index tuple and index key. Calculation is
8181
* based on assumption that GiST page should fit at least 4 tuples. In theory,
8282
* GiST index can be functional when page can fit 3 tuples. But that seems
83-
* rather inefficent, so we use a bit conservative estimate.
83+
* rather inefficient, so we use a bit conservative estimate.
8484
*
8585
* The maximum size of index key is true for unicolumn index. Therefore, this
8686
* estimation should be used to figure out which maximum size of GiST index key

src/include/replication/logicalproto.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
*
4141
* Note: though this is an enum, the values are used to identify message types
4242
* in logical replication protocol, which uses a single byte to identify a
43-
* message type. Hence the values should be single byte wide and preferrably
44-
* human readable characters.
43+
* message type. Hence the values should be single-byte wide and preferably
44+
* human-readable characters.
4545
*/
4646
typedef enum LogicalRepMsgType
4747
{

0 commit comments

Comments
 (0)