From 4cbd12832839830fe58bb5d9d4ba7e2ec84952ce Mon Sep 17 00:00:00 2001
From: Fujii Masao <fujii@postgresql.org>
Date: Mon, 7 Jul 2014 19:39:42 +0900
Subject: [PATCH] Fix typos in comments.

---
 src/backend/tcop/postgres.c        | 2 +-
 src/bin/pg_basebackup/receivelog.c | 2 +-
 src/include/postgres.h             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 6b4221a2439..7b5480faf86 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -1999,7 +1999,7 @@ exec_execute_message(const char *portal_name, long max_rows)
  * check_log_statement
  *		Determine whether command should be logged because of log_statement
  *
- * parsetree_list can be either raw grammar output or a list of planned
+ * stmt_list can be either raw grammar output or a list of planned
  * statements
  */
 static bool
diff --git a/src/bin/pg_basebackup/receivelog.c b/src/bin/pg_basebackup/receivelog.c
index 97a078526a3..2f6727bcef6 100644
--- a/src/bin/pg_basebackup/receivelog.c
+++ b/src/bin/pg_basebackup/receivelog.c
@@ -410,7 +410,7 @@ CheckServerVersionForStreaming(PGconn *conn)
  * indefinitely.
  *
  * standby_message_timeout controls how often we send a message
- * back to the master letting it know our progress, in seconds.
+ * back to the master letting it know our progress, in miliseconds.
  * This message will only contain the write location, and never
  * flush or replay.
  *
diff --git a/src/include/postgres.h b/src/include/postgres.h
index b123813bc47..0071b42051b 100644
--- a/src/include/postgres.h
+++ b/src/include/postgres.h
@@ -680,7 +680,7 @@ extern Datum Float8GetDatum(float8 X);
  */
 
 /*
- * Backend only infrastructure for the the assertion-related macros in c.h.
+ * Backend only infrastructure for the assertion-related macros in c.h.
  *
  * ExceptionalCondition must be present even when assertions are not enabled.
  */
-- 
GitLab