From 6aab1f45acaa4cf90e62357ebdf5e6a38829204e Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sun, 26 Apr 2015 18:42:31 +0200 Subject: Fix various typos and grammar errors in comments. Author: Dmitriy Olshevskiy Discussion: 553D00A6.4090205@bk.ru --- src/interfaces/ecpg/pgtypeslib/datetime.c | 2 +- src/interfaces/ecpg/pgtypeslib/numeric.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/ecpg') diff --git a/src/interfaces/ecpg/pgtypeslib/datetime.c b/src/interfaces/ecpg/pgtypeslib/datetime.c index 49cb817a507..3b0855f7225 100644 --- a/src/interfaces/ecpg/pgtypeslib/datetime.c +++ b/src/interfaces/ecpg/pgtypeslib/datetime.c @@ -323,7 +323,7 @@ PGTYPESdate_fmt_asc(date dDate, const char *fmtstring, char *outbuf) * PGTYPESdate_defmt_asc * * function works as follows: - * - first we analyze the paramters + * - first we analyze the parameters * - if this is a special case with no delimiters, add delimters * - find the tokens. First we look for numerical values. If we have found * less than 3 tokens, we check for the months' names and thereafter for diff --git a/src/interfaces/ecpg/pgtypeslib/numeric.c b/src/interfaces/ecpg/pgtypeslib/numeric.c index 84d73b7bb7b..0504f3cac8a 100644 --- a/src/interfaces/ecpg/pgtypeslib/numeric.c +++ b/src/interfaces/ecpg/pgtypeslib/numeric.c @@ -1376,7 +1376,7 @@ PGTYPESnumeric_cmp(numeric *var1, numeric *var2) if (var1->sign == NUMERIC_NEG && var2->sign == NUMERIC_NEG) { /* - * instead of inverting the result, we invert the paramter ordering + * instead of inverting the result, we invert the parameter ordering */ return cmp_abs(var2, var1); } -- cgit v1.2.3