diff --git a/doc/src/sgml/hstore.sgml b/doc/src/sgml/hstore.sgml
index 85e7efcedc1..b20108da79c 100644
--- a/doc/src/sgml/hstore.sgml
+++ b/doc/src/sgml/hstore.sgml
@@ -334,7 +334,7 @@ b
hstore_to_json_loose(hstore)
json
get hstore as a json value, but attempting to distinguish numerical and boolean values so they are unquoted in the json
- hstore_to_json('"a key"=>1, b=>t, c=>null, d=>12345, e=>012345, f=>1.234, g=>2.345e+4')
+ hstore_to_json_loose('"a key"=>1, b=>t, c=>null, d=>12345, e=>012345, f=>1.234, g=>2.345e+4')
{"a key": 1, "b": true, "c": null, "d": 12345, "e": "012345", "f": 1.234, "g": 2.345e+4}