aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-06-15 09:45:13 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-06-15 09:45:13 -0400
commit6c6a1149b5662f685ddbb0c6dc83eb110992044a (patch)
treea701a7c53966a30f16f584f09e97dcda6f5c7679
parent878b7d9eaa9cbf5f121f9ee8676d82b22decedf0 (diff)
downloadpostgresql-6c6a1149b5662f685ddbb0c6dc83eb110992044a.tar.gz
postgresql-6c6a1149b5662f685ddbb0c6dc83eb110992044a.zip
Fix typo in code comment
Author: Daniel Gustafsson <daniel@yesql.se>
-rw-r--r--src/interfaces/ecpg/pgtypeslib/datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/datetime.c b/src/interfaces/ecpg/pgtypeslib/datetime.c
index 702bf89ef0d..2a93eb68578 100644
--- a/src/interfaces/ecpg/pgtypeslib/datetime.c
+++ b/src/interfaces/ecpg/pgtypeslib/datetime.c
@@ -441,7 +441,7 @@ PGTYPESdate_defmt_asc(date * d, const char *fmt, char *str)
/*
* as long as the string, one additional byte for the terminator and 2
- * for the delimiters between the 3 fiedls
+ * for the delimiters between the 3 fields
*/
str_copy = pgtypes_alloc(strlen(str) + 1 + 2);
if (!str_copy)