aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-05-15 18:05:34 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-05-15 18:05:34 -0400
commita0ab4f4909a3f52e8b8243d2ae2dbb6f5027136c (patch)
treebfa82c2e300271e85746e45b6ceb96689e27ee79 /src/backend/utils/adt/timestamp.c
parent242dfcbafac592a3f097ec2e4e36fe1b739f7f29 (diff)
downloadpostgresql-a0ab4f4909a3f52e8b8243d2ae2dbb6f5027136c.tar.gz
postgresql-a0ab4f4909a3f52e8b8243d2ae2dbb6f5027136c.zip
Add comments linking pg_strftime to timestamptz_to_str
Diffstat (limited to 'src/backend/utils/adt/timestamp.c')
-rw-r--r--src/backend/utils/adt/timestamp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c
index 4caffb58040..876605573c1 100644
--- a/src/backend/utils/adt/timestamp.c
+++ b/src/backend/utils/adt/timestamp.c
@@ -1738,6 +1738,8 @@ timestamptz_to_time_t(TimestampTz t)
* This is mostly for use in emitting messages. The primary difference
* from timestamptz_out is that we force the output format to ISO. Note
* also that the result is in a static buffer, not pstrdup'd.
+ *
+ * See also pg_strftime.
*/
const char *
timestamptz_to_str(TimestampTz t)