json.out.patch 751 B

123456789101112131415161718
  1. --- json.out
  2. +++ json.out
  3. @@ -202,15 +202,6 @@ LINE 1: SELECT '{"abc":1,3}'::json;
  4. ^
  5. DETAIL: Expected string, but found "3".
  6. CONTEXT: JSON data, line 1: {"abc":1,3...
  7. --- Recursion.
  8. -SET max_stack_depth = '100kB';
  9. -SELECT repeat('[', 10000)::json;
  10. -ERROR: stack depth limit exceeded
  11. -HINT: Increase the configuration parameter "max_stack_depth" (currently 100kB), after ensuring the platform's stack depth limit is adequate.
  12. -SELECT repeat('{"a":', 10000)::json;
  13. -ERROR: stack depth limit exceeded
  14. -HINT: Increase the configuration parameter "max_stack_depth" (currently 100kB), after ensuring the platform's stack depth limit is adequate.
  15. -RESET max_stack_depth;
  16. -- Miscellaneous stuff.
  17. SELECT 'true'::json; -- OK
  18. json