aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-01-23 13:39:00 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-01-23 13:39:00 +0200
commit95931133a959404cf7320b49058b2f1c2e4606b9 (patch)
tree63249b639bc6c367db56cf0ad7cc06b75c9db99e /src/backend/tcop/postgres.c
parent1699e6dd1fa7fbc7c3d114b121828eb27eb523b1 (diff)
downloadpostgresql-95931133a959404cf7320b49058b2f1c2e4606b9.tar.gz
postgresql-95931133a959404cf7320b49058b2f1c2e4606b9.zip
Fix misc typos in comments.
Spotted mostly by Fabien Coelho. Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1901230947050.16643@lancre
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 0c0891b33e6..e773f20d9fe 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -2243,7 +2243,7 @@ check_log_duration(char *msec_str, bool was_logged)
/*
* Do not log if log_statement_sample_rate = 0. Log a sample if
- * log_statement_sample_rate <= 1 and avoid unecessary random() call
+ * log_statement_sample_rate <= 1 and avoid unnecessary random() call
* if log_statement_sample_rate = 1. But don't compute any of this
* unless needed.
*/