diff options
author | Michael Paquier | 2019-10-30 01:03:00 +0000 |
---|---|---|
committer | Michael Paquier | 2019-10-30 01:03:00 +0000 |
commit | 6ca86bb7e9c72f428c7f4e3f2b48dd6c4084429c (patch) | |
tree | e06d7478c2cc96f89e0f6f00452bea8e0177b93e /contrib | |
parent | 517bf2d9107f0d45c5fea2e3904e8d3b10ce6bb2 (diff) |
Fix typos in the code
Author: Vignesh C
Reviewed-by: Dilip Kumar, Michael Paquier
Discussion: https://postgr.es/m/CALDaNm0ni+GAOe4+fbXiOxNrVudajMYmhJFtXGX-zBPoN8ixhw@mail.gmail.com
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pg_trgm/trgm_op.c | 4 | ||||
-rw-r--r-- | contrib/pgcrypto/pgp-info.c | 2 | ||||
-rw-r--r-- | contrib/sepgsql/database.c | 2 | ||||
-rw-r--r-- | contrib/sepgsql/dml.c | 2 | ||||
-rw-r--r-- | contrib/sepgsql/schema.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/contrib/pg_trgm/trgm_op.c b/contrib/pg_trgm/trgm_op.c index 4679efe6568..07a31803786 100644 --- a/contrib/pg_trgm/trgm_op.c +++ b/contrib/pg_trgm/trgm_op.c @@ -467,7 +467,7 @@ comp_ptrgm(const void *v1, const void *v2) * ulen1: count of unique trigrams of array "trg1". * len2: length of array "trg2" and array "trg2indexes". * len: length of the array "found". - * lags: set of boolean flags parametrizing similarity calculation. + * lags: set of boolean flags parameterizing similarity calculation. * bounds: whether each trigram is left/right bound of word. * * Returns word similarity. @@ -632,7 +632,7 @@ iterate_word_similarity(int *trg2indexes, * * str1: search pattern string, of length slen1 bytes. * str2: text in which we are looking for a word, of length slen2 bytes. - * flags: set of boolean flags parametrizing similarity calculation. + * flags: set of boolean flags parameterizing similarity calculation. * * Returns word similarity. */ diff --git a/contrib/pgcrypto/pgp-info.c b/contrib/pgcrypto/pgp-info.c index b2300ea6568..83dc60486bd 100644 --- a/contrib/pgcrypto/pgp-info.c +++ b/contrib/pgcrypto/pgp-info.c @@ -169,7 +169,7 @@ pgp_get_keyid(MBuf *pgp_data, char *dst) break; case PGP_PKT_SYMENCRYPTED_SESSKEY: got_symenc_key++; - /* fallthru */ + /* fall through */ case PGP_PKT_SIGNATURE: case PGP_PKT_MARKER: case PGP_PKT_TRUST: diff --git a/contrib/sepgsql/database.c b/contrib/sepgsql/database.c index 0190d381a90..5850e076eb9 100644 --- a/contrib/sepgsql/database.c +++ b/contrib/sepgsql/database.c @@ -74,7 +74,7 @@ sepgsql_database_post_create(Oid databaseId, const char *dtemplate) * Compute a default security label of the newly created database based on * a pair of security label of client and source database. * - * XXX - uncoming version of libselinux supports to take object name to + * XXX - upcoming version of libselinux supports to take object name to * handle special treatment on default security label. */ rel = table_open(DatabaseRelationId, AccessShareLock); diff --git a/contrib/sepgsql/dml.c b/contrib/sepgsql/dml.c index 14198799990..5ff04dbf053 100644 --- a/contrib/sepgsql/dml.c +++ b/contrib/sepgsql/dml.c @@ -85,7 +85,7 @@ fixup_whole_row_references(Oid relOid, Bitmapset *columns) * When user is querying on a table with children, it implicitly accesses * child tables also. So, we also need to check security label of child * tables and columns, but here is no guarantee attribute numbers are - * same between the parent ans children. + * same between the parent and children. * It returns a bitmapset which contains attribute number of the child * table based on the given bitmapset of the parent. */ diff --git a/contrib/sepgsql/schema.c b/contrib/sepgsql/schema.c index 92ef156ff57..00c227d86c1 100644 --- a/contrib/sepgsql/schema.c +++ b/contrib/sepgsql/schema.c @@ -51,7 +51,7 @@ sepgsql_schema_post_create(Oid namespaceId) * Compute a default security label when we create a new schema object * under the working database. * - * XXX - uncoming version of libselinux supports to take object name to + * XXX - upcoming version of libselinux supports to take object name to * handle special treatment on default security label; such as special * label on "pg_temp" schema. */ |