case JSON_TOKEN_NUMBER:
/*
* No need to check size of numeric values, because maximum numeric
- * size is well in excess of the restriction we separately impose
- * of the size of JsonbValues
+ * size is well below the JsonbValue restriction
*/
v.type = jbvNumeric;
v.numeric = DatumGetNumeric(DirectFunctionCall3(numeric_in, CStringGetDatum(token), 0, -1));
#include "catalog/pg_collation.h"
#include "catalog/pg_type.h"
#include "utils/builtins.h"
-#include "utils/memutils.h"
#include "utils/jsonb.h"
+#include "utils/memutils.h"
/*
* State used while converting an arbitrary JsonbValue into a Jsonb value