mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Add comments linking pg_strftime to timestamptz_to_str
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user