1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-11 05:41:32 +03:00
Andrew Dunstan 55c8807978 Fix hstore_to_json_loose's detection of valid JSON number values.
We expose a function IsValidJsonNumber that internally calls the lexer
for json numbers. That allows us to use the same test everywhere,
instead of inventing a broken test for hstore conversions. The new
function is also used in datum_to_json, replacing the code that is now
moved to the new function.

Backpatch to 9.3 where hstore_to_json_loose was introduced.
2014-12-01 11:44:48 -05:00
..
2013-03-10 17:35:36 -04:00
2013-03-10 17:35:36 -04:00
2011-04-25 22:27:11 +03:00
2013-04-19 09:32:49 -04:00
2010-09-20 22:08:53 +02:00
2013-09-29 22:46:30 -04:00