aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/tcop/postgres.c2
-rw-r--r--src/bin/pg_basebackup/receivelog.c2
-rw-r--r--src/include/postgres.h2
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.
*/