From 95931133a959404cf7320b49058b2f1c2e4606b9 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Wed, 23 Jan 2019 13:39:00 +0200 Subject: Fix misc typos in comments. Spotted mostly by Fabien Coelho. Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1901230947050.16643@lancre --- src/backend/tcop/postgres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/tcop/postgres.c') 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. */ -- cgit v1.2.3