Restrict some cases in parsing numerics in jsonpath

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 2e643501e5281ad5e0fa626dab1d51c1d38f639a
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2019-04-01T15:09:09Z
Releases: 12.0
Restrict some cases in parsing numerics in jsonpath

Jsonpath now accepts integers with leading zeroes and floats starting with
a dot.  However, SQL standard requires to follow JSON specification, which
doesn't allow none of these cases.  Our json[b] datatypes also restrict that.
So, restrict it in jsonpath altogether.

Author: Nikita Glukhov

Files