Add jsonpath_encoding_1.out changes missed in 29ceacc3f9
Reported-by: Tom Lane Discussion: https://postgr.es/m/14305.1557268259%40sss.pgh.pa.us
This commit is contained in:
parent
53ae0b16d6
commit
e5f9786317
@ -2,20 +2,17 @@
|
|||||||
-- checks for double-quoted values
|
-- checks for double-quoted values
|
||||||
-- basic unicode input
|
-- basic unicode input
|
||||||
SELECT '"\u"'::jsonpath; -- ERROR, incomplete escape
|
SELECT '"\u"'::jsonpath; -- ERROR, incomplete escape
|
||||||
ERROR: invalid input syntax for type jsonpath
|
ERROR: invalid unicode sequence at or near "\u" of jsonpath input
|
||||||
LINE 1: SELECT '"\u"'::jsonpath;
|
LINE 1: SELECT '"\u"'::jsonpath;
|
||||||
^
|
^
|
||||||
DETAIL: Unicode sequence is invalid at or near "\u"
|
|
||||||
SELECT '"\u00"'::jsonpath; -- ERROR, incomplete escape
|
SELECT '"\u00"'::jsonpath; -- ERROR, incomplete escape
|
||||||
ERROR: invalid input syntax for type jsonpath
|
ERROR: invalid unicode sequence at or near "\u00" of jsonpath input
|
||||||
LINE 1: SELECT '"\u00"'::jsonpath;
|
LINE 1: SELECT '"\u00"'::jsonpath;
|
||||||
^
|
^
|
||||||
DETAIL: Unicode sequence is invalid at or near "\u00"
|
|
||||||
SELECT '"\u000g"'::jsonpath; -- ERROR, g is not a hex digit
|
SELECT '"\u000g"'::jsonpath; -- ERROR, g is not a hex digit
|
||||||
ERROR: invalid input syntax for type jsonpath
|
ERROR: invalid unicode sequence at or near "\u000" of jsonpath input
|
||||||
LINE 1: SELECT '"\u000g"'::jsonpath;
|
LINE 1: SELECT '"\u000g"'::jsonpath;
|
||||||
^
|
^
|
||||||
DETAIL: Unicode sequence is invalid at or near "\u000"
|
|
||||||
SELECT '"\u0000"'::jsonpath; -- OK, legal escape
|
SELECT '"\u0000"'::jsonpath; -- OK, legal escape
|
||||||
ERROR: unsupported Unicode escape sequence
|
ERROR: unsupported Unicode escape sequence
|
||||||
LINE 1: SELECT '"\u0000"'::jsonpath;
|
LINE 1: SELECT '"\u0000"'::jsonpath;
|
||||||
@ -156,20 +153,17 @@ DETAIL: \u0000 cannot be converted to text.
|
|||||||
-- checks for quoted key names
|
-- checks for quoted key names
|
||||||
-- basic unicode input
|
-- basic unicode input
|
||||||
SELECT '$."\u"'::jsonpath; -- ERROR, incomplete escape
|
SELECT '$."\u"'::jsonpath; -- ERROR, incomplete escape
|
||||||
ERROR: invalid input syntax for type jsonpath
|
ERROR: invalid unicode sequence at or near "\u" of jsonpath input
|
||||||
LINE 1: SELECT '$."\u"'::jsonpath;
|
LINE 1: SELECT '$."\u"'::jsonpath;
|
||||||
^
|
^
|
||||||
DETAIL: Unicode sequence is invalid at or near "\u"
|
|
||||||
SELECT '$."\u00"'::jsonpath; -- ERROR, incomplete escape
|
SELECT '$."\u00"'::jsonpath; -- ERROR, incomplete escape
|
||||||
ERROR: invalid input syntax for type jsonpath
|
ERROR: invalid unicode sequence at or near "\u00" of jsonpath input
|
||||||
LINE 1: SELECT '$."\u00"'::jsonpath;
|
LINE 1: SELECT '$."\u00"'::jsonpath;
|
||||||
^
|
^
|
||||||
DETAIL: Unicode sequence is invalid at or near "\u00"
|
|
||||||
SELECT '$."\u000g"'::jsonpath; -- ERROR, g is not a hex digit
|
SELECT '$."\u000g"'::jsonpath; -- ERROR, g is not a hex digit
|
||||||
ERROR: invalid input syntax for type jsonpath
|
ERROR: invalid unicode sequence at or near "\u000" of jsonpath input
|
||||||
LINE 1: SELECT '$."\u000g"'::jsonpath;
|
LINE 1: SELECT '$."\u000g"'::jsonpath;
|
||||||
^
|
^
|
||||||
DETAIL: Unicode sequence is invalid at or near "\u000"
|
|
||||||
SELECT '$."\u0000"'::jsonpath; -- OK, legal escape
|
SELECT '$."\u0000"'::jsonpath; -- OK, legal escape
|
||||||
ERROR: unsupported Unicode escape sequence
|
ERROR: unsupported Unicode escape sequence
|
||||||
LINE 1: SELECT '$."\u0000"'::jsonpath;
|
LINE 1: SELECT '$."\u0000"'::jsonpath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user