@@ -159,7 +159,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
159159- "PgSQL"
160160-(1 row)
161161-
162- +ERROR: could not parse "\"\\x50\\u0067\\u{53}\\u{051}\\u{00004C}\"" as type jsonpath: lexical error: invalid syntax
162+ +ERROR: could not parse "\"\\x50\\u0067\\u{53}\\u{051}\\u{00004C}\"" as type jsonpath: at or near " invalid syntax": syntax error
163163+DETAIL: source SQL:
164164+"\x50\u0067\u{53}\u{051}\u{00004C}"
165165+^
@@ -205,7 +205,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
205205-ERROR: trailing junk after numeric literal at or near "1.t" of jsonpath input
206206-LINE 1: select '1.type()'::jsonpath;
207207- ^
208- +ERROR: could not parse "1.type()" as type jsonpath: at or near " trailing junk after numeric literal at or near "1.t"": syntax error
208+ +ERROR: could not parse "1.type()" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1.t"
209209+DETAIL: source SQL:
210210+1.type()
211211+^
@@ -671,39 +671,39 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
671671-ERROR: trailing junk after numeric literal at or near "1a" of jsonpath input
672672-LINE 1: select '1a'::jsonpath;
673673- ^
674- +ERROR: could not parse "1a" as type jsonpath: at or near " trailing junk after numeric literal at or near "1a"": syntax error
674+ +ERROR: could not parse "1a" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1a"
675675+DETAIL: source SQL:
676676+1a
677677+^
678678 select '1e'::jsonpath;
679679-ERROR: trailing junk after numeric literal at or near "1e" of jsonpath input
680680-LINE 1: select '1e'::jsonpath;
681681- ^
682- +ERROR: could not parse "1e" as type jsonpath: at or near " invalid floating point literal": syntax error
682+ +ERROR: could not parse "1e" as type jsonpath: lexical error: invalid floating point literal
683683+DETAIL: source SQL:
684684+1e
685685+^
686686 select '1.e'::jsonpath;
687687-ERROR: trailing junk after numeric literal at or near "1.e" of jsonpath input
688688-LINE 1: select '1.e'::jsonpath;
689689- ^
690- +ERROR: could not parse "1.e" as type jsonpath: at or near " invalid floating point literal": syntax error
690+ +ERROR: could not parse "1.e" as type jsonpath: lexical error: invalid floating point literal
691691+DETAIL: source SQL:
692692+1.e
693693+^
694694 select '1.2a'::jsonpath;
695695-ERROR: trailing junk after numeric literal at or near "1.2a" of jsonpath input
696696-LINE 1: select '1.2a'::jsonpath;
697697- ^
698- +ERROR: could not parse "1.2a" as type jsonpath: at or near " trailing junk after numeric literal at or near "1.2a"": syntax error
698+ +ERROR: could not parse "1.2a" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1.2a"
699699+DETAIL: source SQL:
700700+1.2a
701701+^
702702 select '1.2e'::jsonpath;
703703-ERROR: trailing junk after numeric literal at or near "1.2e" of jsonpath input
704704-LINE 1: select '1.2e'::jsonpath;
705705- ^
706- +ERROR: could not parse "1.2e" as type jsonpath: at or near " invalid floating point literal": syntax error
706+ +ERROR: could not parse "1.2e" as type jsonpath: lexical error: invalid floating point literal
707707+DETAIL: source SQL:
708708+1.2e
709709+^
@@ -768,7 +768,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
768768-ERROR: trailing junk after numeric literal at or near "1.2e3a" of jsonpath input
769769-LINE 1: select '1.2e3a'::jsonpath;
770770- ^
771- +ERROR: could not parse "1.2e3a" as type jsonpath: at or near " trailing junk after numeric literal at or near "1.2e3a"": syntax error
771+ +ERROR: could not parse "1.2e3a" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1.2e3a"
772772+DETAIL: source SQL:
773773+1.2e3a
774774+^
@@ -839,7 +839,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
839839- 37
840840-(1 row)
841841-
842- +ERROR: could not parse "0b100101" as type jsonpath: at or near " trailing junk after numeric literal at or near "0b"": syntax error
842+ +ERROR: could not parse "0b100101" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0b"
843843+DETAIL: source SQL:
844844+0b100101
845845+^
@@ -849,7 +849,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
849849- 187
850850-(1 row)
851851-
852- +ERROR: could not parse "0o273" as type jsonpath: at or near " trailing junk after numeric literal at or near "0o"": syntax error
852+ +ERROR: could not parse "0o273" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0o"
853853+DETAIL: source SQL:
854854+0o273
855855+^
@@ -863,71 +863,71 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
863863-ERROR: trailing junk after numeric literal at or near "0b" of jsonpath input
864864-LINE 1: select '0b'::jsonpath;
865865- ^
866- +ERROR: could not parse "0b" as type jsonpath: at or near " trailing junk after numeric literal at or near "0b"": syntax error
866+ +ERROR: could not parse "0b" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0b"
867867+DETAIL: source SQL:
868868+0b
869869+^
870870 select '1b'::jsonpath;
871871-ERROR: trailing junk after numeric literal at or near "1b" of jsonpath input
872872-LINE 1: select '1b'::jsonpath;
873873- ^
874- +ERROR: could not parse "1b" as type jsonpath: at or near " trailing junk after numeric literal at or near "1b"": syntax error
874+ +ERROR: could not parse "1b" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1b"
875875+DETAIL: source SQL:
876876+1b
877877+^
878878 select '0b0x'::jsonpath;
879879-ERROR: syntax error at end of jsonpath input
880880-LINE 1: select '0b0x'::jsonpath;
881881- ^
882- +ERROR: could not parse "0b0x" as type jsonpath: at or near " trailing junk after numeric literal at or near "0b"": syntax error
882+ +ERROR: could not parse "0b0x" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0b"
883883+DETAIL: source SQL:
884884+0b0x
885885+^
886886 select '0o'::jsonpath;
887887-ERROR: trailing junk after numeric literal at or near "0o" of jsonpath input
888888-LINE 1: select '0o'::jsonpath;
889889- ^
890- +ERROR: could not parse "0o" as type jsonpath: at or near " trailing junk after numeric literal at or near "0o"": syntax error
890+ +ERROR: could not parse "0o" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0o"
891891+DETAIL: source SQL:
892892+0o
893893+^
894894 select '1o'::jsonpath;
895895-ERROR: trailing junk after numeric literal at or near "1o" of jsonpath input
896896-LINE 1: select '1o'::jsonpath;
897897- ^
898- +ERROR: could not parse "1o" as type jsonpath: at or near " trailing junk after numeric literal at or near "1o"": syntax error
898+ +ERROR: could not parse "1o" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1o"
899899+DETAIL: source SQL:
900900+1o
901901+^
902902 select '0o0x'::jsonpath;
903903-ERROR: syntax error at end of jsonpath input
904904-LINE 1: select '0o0x'::jsonpath;
905905- ^
906- +ERROR: could not parse "0o0x" as type jsonpath: at or near " trailing junk after numeric literal at or near "0o"": syntax error
906+ +ERROR: could not parse "0o0x" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0o"
907907+DETAIL: source SQL:
908908+0o0x
909909+^
910910 select '0x'::jsonpath;
911911-ERROR: trailing junk after numeric literal at or near "0x" of jsonpath input
912912-LINE 1: select '0x'::jsonpath;
913913- ^
914- +ERROR: could not parse "0x" as type jsonpath: lexical error: invalid hexadecimal numeric literal
914+ +ERROR: could not parse "0x" as type jsonpath: at or near " invalid hexadecimal numeric literal": syntax error
915915+DETAIL: source SQL:
916916+0x
917917+^
918918 select '1x'::jsonpath;
919919-ERROR: trailing junk after numeric literal at or near "1x" of jsonpath input
920920-LINE 1: select '1x'::jsonpath;
921921- ^
922- +ERROR: could not parse "1x" as type jsonpath: at or near " invalid hexadecimal numeric literal": syntax error
922+ +ERROR: could not parse "1x" as type jsonpath: lexical error: invalid hexadecimal numeric literal
923923+DETAIL: source SQL:
924924+1x
925925+^
926926 select '0x0y'::jsonpath;
927927-ERROR: syntax error at end of jsonpath input
928928-LINE 1: select '0x0y'::jsonpath;
929929- ^
930- +ERROR: could not parse "0x0y" as type jsonpath: at or near " trailing junk after numeric literal at or near "0x0y"": syntax error
930+ +ERROR: could not parse "0x0y" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0x0y"
931931+DETAIL: source SQL:
932932+0x0y
933933+^
@@ -938,7 +938,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
938938- 1000000
939939-(1 row)
940940-
941- +ERROR: could not parse "1_000_000" as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
941+ +ERROR: could not parse "1_000_000" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
942942+DETAIL: source SQL:
943943+1_000_000
944944+^
@@ -948,7 +948,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
948948- 123
949949-(1 row)
950950-
951- +ERROR: could not parse "1_2_3" as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
951+ +ERROR: could not parse "1_2_3" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
952952+DETAIL: source SQL:
953953+1_2_3
954954+^
@@ -958,7 +958,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
958958- 518979583
959959-(1 row)
960960-
961- +ERROR: could not parse "0x1EEE_FFFF" as type jsonpath: at or near " trailing junk after numeric literal at or near "0x1EEE_"": syntax error
961+ +ERROR: could not parse "0x1EEE_FFFF" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0x1EEE_"
962962+DETAIL: source SQL:
963963+0x1EEE_FFFF
964964+^
@@ -968,7 +968,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
968968- 187
969969-(1 row)
970970-
971- +ERROR: could not parse "0o2_73" as type jsonpath: at or near " trailing junk after numeric literal at or near "0o"": syntax error
971+ +ERROR: could not parse "0o2_73" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0o"
972972+DETAIL: source SQL:
973973+0o2_73
974974+^
@@ -978,7 +978,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
978978- 37
979979-(1 row)
980980-
981- +ERROR: could not parse "0b10_0101" as type jsonpath: at or near " trailing junk after numeric literal at or near "0b"": syntax error
981+ +ERROR: could not parse "0b10_0101" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0b"
982982+DETAIL: source SQL:
983983+0b10_0101
984984+^
@@ -988,7 +988,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
988988- 1000.000005
989989-(1 row)
990990-
991- +ERROR: could not parse "1_000.000_005" as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
991+ +ERROR: could not parse "1_000.000_005" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
992992+DETAIL: source SQL:
993993+1_000.000_005
994994+^
@@ -998,7 +998,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
998998- 1000
999999-(1 row)
10001000-
1001- +ERROR: could not parse "1_000." as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
1001+ +ERROR: could not parse "1_000." as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
10021002+DETAIL: source SQL:
10031003+1_000.
10041004+^
@@ -1018,7 +1018,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
10181018- 10005
10191019-(1 row)
10201020-
1021- +ERROR: could not parse "1_000.5e0_1" as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
1021+ +ERROR: could not parse "1_000.5e0_1" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
10221022+DETAIL: source SQL:
10231023+1_000.5e0_1
10241024+^
@@ -1035,15 +1035,15 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
10351035-ERROR: trailing junk after numeric literal at or near "100_" of jsonpath input
10361036-LINE 1: select '100_'::jsonpath;
10371037- ^
1038- +ERROR: could not parse "100_" as type jsonpath: at or near " trailing junk after numeric literal at or near "100_"": syntax error
1038+ +ERROR: could not parse "100_" as type jsonpath: lexical error: trailing junk after numeric literal at or near "100_"
10391039+DETAIL: source SQL:
10401040+100_
10411041+^
10421042 select '100__000'::jsonpath;
10431043-ERROR: syntax error at end of jsonpath input
10441044-LINE 1: select '100__000'::jsonpath;
10451045- ^
1046- +ERROR: could not parse "100__000" as type jsonpath: at or near " trailing junk after numeric literal at or near "100_"": syntax error
1046+ +ERROR: could not parse "100__000" as type jsonpath: lexical error: trailing junk after numeric literal at or near "100_"
10471047+DETAIL: source SQL:
10481048+100__000
10491049+^
@@ -1059,31 +1059,31 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
10591059-ERROR: trailing junk after numeric literal at or near "1_000_" of jsonpath input
10601060-LINE 1: select '1_000_.5'::jsonpath;
10611061- ^
1062- +ERROR: could not parse "1_000_.5" as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
1062+ +ERROR: could not parse "1_000_.5" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
10631063+DETAIL: source SQL:
10641064+1_000_.5
10651065+^
10661066 select '1_000._5'::jsonpath;
10671067-ERROR: trailing junk after numeric literal at or near "1_000._" of jsonpath input
10681068-LINE 1: select '1_000._5'::jsonpath;
10691069- ^
1070- +ERROR: could not parse "1_000._5" as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
1070+ +ERROR: could not parse "1_000._5" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
10711071+DETAIL: source SQL:
10721072+1_000._5
10731073+^
10741074 select '1_000.5_'::jsonpath;
10751075-ERROR: trailing junk after numeric literal at or near "1_000.5_" of jsonpath input
10761076-LINE 1: select '1_000.5_'::jsonpath;
10771077- ^
1078- +ERROR: could not parse "1_000.5_" as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
1078+ +ERROR: could not parse "1_000.5_" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
10791079+DETAIL: source SQL:
10801080+1_000.5_
10811081+^
10821082 select '1_000.5e_1'::jsonpath;
10831083-ERROR: trailing junk after numeric literal at or near "1_000.5e" of jsonpath input
10841084-LINE 1: select '1_000.5e_1'::jsonpath;
10851085- ^
1086- +ERROR: could not parse "1_000.5e_1" as type jsonpath: at or near " trailing junk after numeric literal at or near "1_"": syntax error
1086+ +ERROR: could not parse "1_000.5e_1" as type jsonpath: lexical error: trailing junk after numeric literal at or near "1_"
10871087+DETAIL: source SQL:
10881088+1_000.5e_1
10891089+^
@@ -1092,23 +1092,23 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
10921092-ERROR: syntax error at end of jsonpath input
10931093-LINE 1: select '0b_10_0101'::jsonpath;
10941094- ^
1095- +ERROR: could not parse "0b_10_0101" as type jsonpath: at or near " trailing junk after numeric literal at or near "0b"": syntax error
1095+ +ERROR: could not parse "0b_10_0101" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0b"
10961096+DETAIL: source SQL:
10971097+0b_10_0101
10981098+^
10991099 select '0o_273'::jsonpath;
11001100-ERROR: syntax error at end of jsonpath input
11011101-LINE 1: select '0o_273'::jsonpath;
11021102- ^
1103- +ERROR: could not parse "0o_273" as type jsonpath: at or near " trailing junk after numeric literal at or near "0o"": syntax error
1103+ +ERROR: could not parse "0o_273" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0o"
11041104+DETAIL: source SQL:
11051105+0o_273
11061106+^
11071107 select '0x_42F'::jsonpath;
11081108-ERROR: syntax error at end of jsonpath input
11091109-LINE 1: select '0x_42F'::jsonpath;
11101110- ^
1111- +ERROR: could not parse "0x_42F" as type jsonpath: at or near " trailing junk after numeric literal at or near "0x_"": syntax error
1111+ +ERROR: could not parse "0x_42F" as type jsonpath: lexical error: trailing junk after numeric literal at or near "0x_"
11121112+DETAIL: source SQL:
11131113+0x_42F
11141114+^
0 commit comments