postgresql/contrib/hstore
Tom Lane 1f2b195ebf Fix IsValidJsonNumber() to notice trailing non-alphanumeric garbage.
Commit e09996ff8d was one brick shy of a load: it didn't insist
that the detected JSON number be the whole of the supplied string.
This allowed inputs such as "2016-01-01" to be misdetected as valid JSON
numbers.  Per bug #13906 from Dmitry Ryabov.

In passing, be more wary of zero-length input (I'm not sure this can
happen given current callers, but better safe than sorry), and do some
minor cosmetic cleanup.
2016-02-03 01:39:08 -05:00
..
data
expected Fix IsValidJsonNumber() to notice trailing non-alphanumeric garbage. 2016-02-03 01:39:08 -05:00
sql Fix IsValidJsonNumber() to notice trailing non-alphanumeric garbage. 2016-02-03 01:39:08 -05:00
.gitignore
crc32.c Fix typo in comment. 2013-04-19 09:32:49 -04:00
crc32.h
hstore_compat.c Provide some static-assertion functionality on all compilers. 2012-09-30 22:46:29 -04:00
hstore_gin.c Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
hstore_gist.c
hstore_io.c Fix hstore_to_json_loose's detection of valid JSON number values. 2014-12-01 11:44:48 -05:00
hstore_op.c Predict integer overflow to avoid buffer overruns. 2014-02-17 09:33:32 -05:00
hstore--1.0--1.1.sql Backpatch: Fix typo in update scripts for some contrib modules. 2014-08-25 18:30:46 +02:00
hstore--1.1--1.2.sql Add missing condition for pg_depend in hstore migration script. 2013-09-30 11:38:31 -04:00
hstore--1.2.sql Use a new hstore extension version for added json functions. 2013-09-29 17:51:11 -04:00
hstore--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:46 +02:00
hstore.control Use a new hstore extension version for added json functions. 2013-09-29 17:51:11 -04:00
hstore.h Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
Makefile Fix makefile broken by hstore fix. 2013-09-29 22:46:30 -04:00