diff options
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/date.h | 1 | ||||
| -rw-r--r-- | src/include/utils/datetime.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/date.h b/src/include/utils/date.h index c076fb846a8..dae10910a95 100644 --- a/src/include/utils/date.h +++ b/src/include/utils/date.h @@ -90,6 +90,7 @@ typedef struct /* date.c */ extern double date2timestamp_no_overflow(DateADT dateVal); +extern void EncodeSpecialDate(DateADT dt, char *str); extern Datum date_in(PG_FUNCTION_ARGS); extern Datum date_out(PG_FUNCTION_ARGS); diff --git a/src/include/utils/datetime.h b/src/include/utils/datetime.h index 5b86ca10ef6..e9a1ecebeb7 100644 --- a/src/include/utils/datetime.h +++ b/src/include/utils/datetime.h @@ -326,6 +326,7 @@ extern void EncodeDateOnly(struct pg_tm * tm, int style, char *str); extern void EncodeTimeOnly(struct pg_tm * tm, fsec_t fsec, bool print_tz, int tz, int style, char *str); extern void EncodeDateTime(struct pg_tm * tm, fsec_t fsec, bool print_tz, int tz, const char *tzn, int style, char *str); extern void EncodeInterval(struct pg_tm * tm, fsec_t fsec, int style, char *str); +extern void EncodeSpecialTimestamp(Timestamp dt, char *str); extern int ValidateDate(int fmask, bool isjulian, bool is2digits, bool bc, struct pg_tm * tm); |
