aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-04-26 18:42:31 +0200
committerAndres Freund <andres@anarazel.de>2015-04-26 18:42:31 +0200
commit6aab1f45acaa4cf90e62357ebdf5e6a38829204e (patch)
treeded75b929485ab4331a292150b0823ed2d825fb1 /src/interfaces/ecpg
parent9fe1d9ac6820cff354a5402114b96dae1221eba3 (diff)
downloadpostgresql-6aab1f45acaa4cf90e62357ebdf5e6a38829204e.tar.gz
postgresql-6aab1f45acaa4cf90e62357ebdf5e6a38829204e.zip
Fix various typos and grammar errors in comments.
Author: Dmitriy Olshevskiy Discussion: 553D00A6.4090205@bk.ru
Diffstat (limited to 'src/interfaces/ecpg')
-rw-r--r--src/interfaces/ecpg/pgtypeslib/datetime.c2
-rw-r--r--src/interfaces/ecpg/pgtypeslib/numeric.c2
2 files changed, 2 insertions, 2 deletions
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);
}