Thread: a typo in json.h

a typo in json.h

From
Haifeng Liu
Date:
Seems there is a trivial typo in json.h

diff --git a/src/include/utils/json.h b/src/include/utils/json.h
index 415787b..fa0d4fc 100644
--- a/src/include/utils/json.h
+++ b/src/include/utils/json.h
@@ -26,4 +26,4 @@ extern Datum row_to_json(PG_FUNCTION_ARGS);
 extern Datum row_to_json_pretty(PG_FUNCTION_ARGS);
 extern void  escape_json(StringInfo buf, const char *str);

-#endif   /* XML_H */
+#endif   /* JSON_H */

Re: a typo in json.h

From
Alvaro Herrera
Date:
Excerpts from Haifeng Liu's message of mar feb 28 23:31:26 -0300 2012:
> Seems there is a trivial typo in json.h

Thanks, fixed.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support