aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/json.h')
-rw-r--r--src/include/utils/json.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/json.h b/src/include/utils/json.h
index 20b52944919..4345fbdc316 100644
--- a/src/include/utils/json.h
+++ b/src/include/utils/json.h
@@ -18,5 +18,7 @@
/* functions in json.c */
extern void escape_json(StringInfo buf, const char *str);
+extern char *JsonEncodeDateTime(char *buf, Datum value, Oid typid,
+ const int *tzp);
#endif /* JSON_H */