]> granicus.if.org Git - postgresql/blobdiff - src/include/utils/jsonapi.h
Fix initialization of fake LSN for unlogged relations
[postgresql] / src / include / utils / jsonapi.h
index 5f4d479a7b258c16754da328fdeee92e8ffb5426..e1dab24d5dd91319f381e351777ce46d29371bc7 100644 (file)
@@ -94,7 +94,7 @@ typedef struct JsonSemAction
 } JsonSemAction;
 
 /*
- * parse_json will parse the string in the lex calling the
+ * pg_parse_json will parse the string in the lex calling the
  * action functions in sem at the appropriate points. It is
  * up to them to keep what state they need     in semstate. If they
  * need access to the state of the lexer, then its pointer
@@ -161,6 +161,7 @@ extern Jsonb *transform_jsonb_string_values(Jsonb *jsonb, void *action_state,
 extern text *transform_json_string_values(text *json, void *action_state,
                                                                                  JsonTransformStringValuesAction transform_action);
 
-extern char *JsonEncodeDateTime(char *buf, Datum value, Oid typid);
+extern char *JsonEncodeDateTime(char *buf, Datum value, Oid typid,
+                                                               const int *tzp);
 
 #endif                                                 /* JSONAPI_H */