Fix typos in message emitted by sync_backend_from_watchdog().
authorTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 3 Feb 2021 08:01:23 +0000 (17:01 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 3 Feb 2021 08:03:11 +0000 (17:03 +0900)
src/main/pgpool_main.c

index 353c52e5d0d4141b9626510c86da74f614fb966e..ed1bfef9be5dd5798baeeefd28ecbce95bfd237d 100644 (file)
@@ -5,7 +5,7 @@
  * pgpool: a language independent connection pool server for PostgreSQL
  * written by Tatsuo Ishii
  *
- * Copyright (c) 2003-2020     PgPool Global Development Group
+ * Copyright (c) 2003-2021     PgPool Global Development Group
  *
  * Permission to use, copy, modify, and distribute this software and
  * its documentation for any purpose and without fee is hereby
@@ -4009,7 +4009,7 @@ sync_backend_from_watchdog(void)
                 * processes
                 */
                ereport(LOG,
-                               (errmsg("node status was chenged after the sync from \"%s\"", backendStatus->nodeName),
+                               (errmsg("node status was changed after the sync from \"%s\"", backendStatus->nodeName),
                                 errdetail("all children needs to be restarted as we are not in streaming replication mode")));
                need_to_restart_children = true;
                partial_restart = false;
@@ -4022,7 +4022,7 @@ sync_backend_from_watchdog(void)
                need_to_restart_children = true;
                partial_restart = false;
                ereport(LOG,
-                               (errmsg("primary node was chenged after the sync from \"%s\"", backendStatus->nodeName),
+                               (errmsg("primary node was changed after the sync from \"%s\"", backendStatus->nodeName),
                                 errdetail("all children needs to be restarted")));
 
        }