Fix hstore_to_json_loose example in docs.
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 10 Apr 2013 13:26:46 +0000 (09:26 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 10 Apr 2013 13:26:46 +0000 (09:26 -0400)
Marti Raudsepp.

doc/src/sgml/hstore.sgml

index 85e7efcedc17e07a1b6208effc38833c0cba70ca..b20108da79cd6d96602cf284e464072f2302d6a1 100644 (file)
@@ -334,7 +334,7 @@ b
       <entry><function>hstore_to_json_loose(hstore)</function></entry>
       <entry><type>json</type></entry>
       <entry>get <type>hstore</type> as a json value, but attempting to distinguish numerical and boolean values so they are unquoted in the json</entry>
-      <entry><literal>hstore_to_json('"a key"=&gt;1, b=&gt;t, c=&gt;null, d=&gt;12345, e=&gt;012345, f=&gt;1.234, g=&gt;2.345e+4')</literal></entry>
+      <entry><literal>hstore_to_json_loose('"a key"=&gt;1, b=&gt;t, c=&gt;null, d=&gt;12345, e=&gt;012345, f=&gt;1.234, g=&gt;2.345e+4')</literal></entry>
       <entry><literal>{"a key": 1, "b": true, "c": null, "d": 12345, "e": "012345", "f": 1.234, "g": 2.345e+4}</literal></entry>
      </row>