aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-07-07 19:39:42 +0900
committerFujii Masao <fujii@postgresql.org>2014-07-07 19:39:42 +0900
commit4cbd12832839830fe58bb5d9d4ba7e2ec84952ce (patch)
treeb7c6179bdc7538dbc910246e5a6d64e848a1a043 /src
parent4893ccd02459fdb444f4f4b34c441eb899592879 (diff)
downloadpostgresql-4cbd12832839830fe58bb5d9d4ba7e2ec84952ce.tar.gz
postgresql-4cbd12832839830fe58bb5d9d4ba7e2ec84952ce.zip
Fix typos in comments.
Diffstat (limited to 'src')
-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.
*/