Fix typos.
authorBo Peng <pengbo@sraoss.co.jp>
Wed, 22 Jul 2020 01:23:13 +0000 (10:23 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Wed, 22 Jul 2020 01:23:13 +0000 (10:23 +0900)
Patch is created by Lu, Chenyang.

src/auth/pool_passwd.c
src/config/pool_config_variables.c
src/context/pool_session_context.c
src/watchdog/wd_json_data.c
src/watchdog/wd_lifecheck.c

index fd7dfe9d8138e6210afbe148ce3587812c0c4735..15b9282b2ec2ef97684f9d4f886f5c89477f2ed8 100644 (file)
@@ -464,7 +464,7 @@ get_pgpool_config_user_password(char *username, char *password_in_config)
        PasswordMapping *password_mapping = NULL;
 
        /*
-        * if the password specified in confg is empty strin or NULL look for the
+        * if the password specified in config is empty strin or NULL look for the
         * password in pool_passwd file
         */
        if (password_in_config == NULL || strlen(password_in_config) == 0)
index b93c50be65d098ef91b0efadef72bb9b3bf3dd8f..78a7dc119d51d0fe10467af035025847c0775283 100644 (file)
@@ -174,7 +174,7 @@ static void convert_int_from_base_unit(int64 base_value, int base_unit,
 
 
 /* These functions are used to provide Hints for enum type config parameters and
- * to output the vslues of the parameters.
+ * to output the values of the parameters.
  * These functuons are not available for tools since they use the stringInfo that is
  * not present for tools.
  */
index 3612daeedbb6a202c5cb9e715ab19a4d61dfa869..b72f37d21cf775784205038288510f8fafee2b35 100644 (file)
@@ -267,7 +267,7 @@ pool_unset_query_in_progress(void)
 
        s->in_progress = false;
 
-       /* Restore where_to_send map if neccessary */
+       /* Restore where_to_send map if necessary */
        if (s->need_to_restore_where_to_send)
        {
                memcpy(s->query_context->where_to_send, s->where_to_send_save, sizeof(s->where_to_send_save));
index faff82edd8da4569e01ae062c1c67a1d074aee63..a7576e108f06093ab0ad5c017dc00f3108ddffd2 100644 (file)
@@ -243,7 +243,7 @@ get_pool_config_json(void)
        return json_str;
 }
 
-/* The function returs the simple JSON string that contains
+/* The function returns the simple JSON string that contains
  * only one KEY,VALUE along with the authkey key value if provided
  */
 char *
index 71f4374d413662af7d87499ec0364dc416aad006..ad6f9208095533d37a201e9a8f43d38529b79a45 100644 (file)
@@ -54,7 +54,7 @@
                                                                                         * lifecheck process should waits
                                                                                         * before giving up while fetching
                                                                                         * the configured watchdog node
-                                                                                        * infromation from watchdog
+                                                                                        * information from watchdog
                                                                                         * process through IPC channel */
 
 /*