diff options
Diffstat (limited to 'src/timezone/strftime.c')
-rw-r--r-- | src/timezone/strftime.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timezone/strftime.c b/src/timezone/strftime.c index 55c617f8c22..380b4888a5e 100644 --- a/src/timezone/strftime.c +++ b/src/timezone/strftime.c @@ -118,6 +118,12 @@ static char *_fmt(const char *, const struct pg_tm *, char *, const char *, static char *_yconv(int, int, bool, bool, char *, char const *); +/* + * Convert timestamp t to string s, a caller-allocated buffer of size maxsize, + * using the given format pattern. + * + * See also timestamptz_to_str. + */ size_t pg_strftime(char *s, size_t maxsize, const char *format, const struct pg_tm *t) { |