aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/json.h
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2014-09-29 13:32:22 -0400
committerStephen Frost <sfrost@snowman.net>2014-09-29 13:32:22 -0400
commitc8a026e4f15e2063cd7fe6cb9ffe44f2a81398bd (patch)
tree7eafaecf26e876c7be72bd666fbb24adb8a097ae /src/include/utils/json.h
parentdef4c28cf9147472ba4cfc5b68a098d7a29fb0fb (diff)
downloadpostgresql-c8a026e4f15e2063cd7fe6cb9ffe44f2a81398bd.tar.gz
postgresql-c8a026e4f15e2063cd7fe6cb9ffe44f2a81398bd.zip
Revert 95d737ff to add 'ignore_nulls'
Per discussion, revert the commit which added 'ignore_nulls' to row_to_json. This capability would be better added as an independent function rather than being bolted on to row_to_json. Additionally, the implementation didn't address complex JSON objects, and so was incomplete anyway. Pointed out by Tom and discussed with Andrew and Robert.
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 9d8a0a55a88..82cc48b7113 100644
--- a/src/include/utils/json.h
+++ b/src/include/utils/json.h
@@ -23,7 +23,9 @@ extern Datum json_out(PG_FUNCTION_ARGS);
extern Datum json_recv(PG_FUNCTION_ARGS);
extern Datum json_send(PG_FUNCTION_ARGS);
extern Datum array_to_json(PG_FUNCTION_ARGS);
+extern Datum array_to_json_pretty(PG_FUNCTION_ARGS);
extern Datum row_to_json(PG_FUNCTION_ARGS);
+extern Datum row_to_json_pretty(PG_FUNCTION_ARGS);
extern Datum to_json(PG_FUNCTION_ARGS);
extern Datum json_agg_transfn(PG_FUNCTION_ARGS);