diff options
| author | Michael Paquier | 2019-10-30 01:03:00 +0000 |
|---|---|---|
| committer | Michael Paquier | 2019-10-30 01:03:00 +0000 |
| commit | 6ca86bb7e9c72f428c7f4e3f2b48dd6c4084429c (patch) | |
| tree | e06d7478c2cc96f89e0f6f00452bea8e0177b93e /src/interfaces | |
| parent | 517bf2d9107f0d45c5fea2e3904e8d3b10ce6bb2 (diff) | |
Fix typos in the code
Author: Vignesh C
Reviewed-by: Dilip Kumar, Michael Paquier
Discussion: https://postgr.es/m/CALDaNm0ni+GAOe4+fbXiOxNrVudajMYmhJFtXGX-zBPoN8ixhw@mail.gmail.com
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/ecpg/compatlib/informix.c | 2 | ||||
| -rw-r--r-- | src/interfaces/ecpg/pgtypeslib/interval.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c index bbaf4503c3b..d921b974aaf 100644 --- a/src/interfaces/ecpg/compatlib/informix.c +++ b/src/interfaces/ecpg/compatlib/informix.c @@ -819,7 +819,7 @@ rfmtlong(long lng_val, const char *fmt, char *outbuf) sign = 1; if (leftalign) { - /* can't use strncat(,,0) here, Solaris would freek out */ + /* can't use strncat(,,0) here, Solaris would freak out */ if (sign) if (signdone) { diff --git a/src/interfaces/ecpg/pgtypeslib/interval.c b/src/interfaces/ecpg/pgtypeslib/interval.c index 5b3c9a71e30..48ba50bbce3 100644 --- a/src/interfaces/ecpg/pgtypeslib/interval.c +++ b/src/interfaces/ecpg/pgtypeslib/interval.c @@ -17,7 +17,7 @@ #include "pgtypeslib_extern.h" /* copy&pasted from .../src/backend/utils/adt/datetime.c - * and changesd struct pg_tm to struct tm + * and changed struct pg_tm to struct tm */ static void AdjustFractSeconds(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale) @@ -35,7 +35,7 @@ AdjustFractSeconds(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale /* copy&pasted from .../src/backend/utils/adt/datetime.c - * and changesd struct pg_tm to struct tm + * and changed struct pg_tm to struct tm */ static void AdjustFractDays(double frac, struct /* pg_ */ tm *tm, fsec_t *fsec, int scale) @@ -88,7 +88,7 @@ ISO8601IntegerWidth(const char *fieldstart) /* copy&pasted from .../src/backend/utils/adt/datetime.c - * and changesd struct pg_tm to struct tm + * and changed struct pg_tm to struct tm */ static inline void ClearPgTm(struct /* pg_ */ tm *tm, fsec_t *fsec) @@ -104,7 +104,7 @@ ClearPgTm(struct /* pg_ */ tm *tm, fsec_t *fsec) /* copy&pasted from .../src/backend/utils/adt/datetime.c * - * * changesd struct pg_tm to struct tm + * * changed struct pg_tm to struct tm * * * Made the function static */ @@ -311,7 +311,7 @@ DecodeISO8601Interval(char *str, /* copy&pasted from .../src/backend/utils/adt/datetime.c * with 3 exceptions * - * * changesd struct pg_tm to struct tm + * * changed struct pg_tm to struct tm * * * ECPG code called this without a 'range' parameter * removed 'int range' from the argument list and |
