diff options
Diffstat (limited to 'src/include/utils/json.h')
-rw-r--r-- | src/include/utils/json.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/json.h b/src/include/utils/json.h index 6d7f1b387d1..79c1062e1bf 100644 --- a/src/include/utils/json.h +++ b/src/include/utils/json.h @@ -18,6 +18,8 @@ /* functions in json.c */ extern void escape_json(StringInfo buf, const char *str); +extern void escape_json_with_len(StringInfo buf, const char *str, int len); +extern void escape_json_text(StringInfo buf, const text *txt); extern char *JsonEncodeDateTime(char *buf, Datum value, Oid typid, const int *tzp); extern bool to_json_is_immutable(Oid typoid); |