mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -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.
|
||||
*/
|
||||
|
@ -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:
|
||||
|
@ -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);
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user