@@ -159,7 +159,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
159
159
- "PgSQL"
160
160
-(1 row)
161
161
-
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
163
163
+DETAIL: source SQL:
164
164
+"\x50\u0067\u{53}\u{051}\u{00004C}"
165
165
+^
@@ -205,7 +205,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
205
205
-ERROR: trailing junk after numeric literal at or near "1.t" of jsonpath input
206
206
-LINE 1: select '1.type()'::jsonpath;
207
207
- ^
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"
209
209
+DETAIL: source SQL:
210
210
+1.type()
211
211
+^
@@ -671,39 +671,39 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
671
671
-ERROR: trailing junk after numeric literal at or near "1a" of jsonpath input
672
672
-LINE 1: select '1a'::jsonpath;
673
673
- ^
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"
675
675
+DETAIL: source SQL:
676
676
+1a
677
677
+^
678
678
select '1e'::jsonpath;
679
679
-ERROR: trailing junk after numeric literal at or near "1e" of jsonpath input
680
680
-LINE 1: select '1e'::jsonpath;
681
681
- ^
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
683
683
+DETAIL: source SQL:
684
684
+1e
685
685
+^
686
686
select '1.e'::jsonpath;
687
687
-ERROR: trailing junk after numeric literal at or near "1.e" of jsonpath input
688
688
-LINE 1: select '1.e'::jsonpath;
689
689
- ^
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
691
691
+DETAIL: source SQL:
692
692
+1.e
693
693
+^
694
694
select '1.2a'::jsonpath;
695
695
-ERROR: trailing junk after numeric literal at or near "1.2a" of jsonpath input
696
696
-LINE 1: select '1.2a'::jsonpath;
697
697
- ^
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"
699
699
+DETAIL: source SQL:
700
700
+1.2a
701
701
+^
702
702
select '1.2e'::jsonpath;
703
703
-ERROR: trailing junk after numeric literal at or near "1.2e" of jsonpath input
704
704
-LINE 1: select '1.2e'::jsonpath;
705
705
- ^
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
707
707
+DETAIL: source SQL:
708
708
+1.2e
709
709
+^
@@ -768,7 +768,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
768
768
-ERROR: trailing junk after numeric literal at or near "1.2e3a" of jsonpath input
769
769
-LINE 1: select '1.2e3a'::jsonpath;
770
770
- ^
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"
772
772
+DETAIL: source SQL:
773
773
+1.2e3a
774
774
+^
@@ -839,7 +839,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
839
839
- 37
840
840
-(1 row)
841
841
-
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"
843
843
+DETAIL: source SQL:
844
844
+0b100101
845
845
+^
@@ -849,7 +849,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
849
849
- 187
850
850
-(1 row)
851
851
-
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"
853
853
+DETAIL: source SQL:
854
854
+0o273
855
855
+^
@@ -863,71 +863,71 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
863
863
-ERROR: trailing junk after numeric literal at or near "0b" of jsonpath input
864
864
-LINE 1: select '0b'::jsonpath;
865
865
- ^
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"
867
867
+DETAIL: source SQL:
868
868
+0b
869
869
+^
870
870
select '1b'::jsonpath;
871
871
-ERROR: trailing junk after numeric literal at or near "1b" of jsonpath input
872
872
-LINE 1: select '1b'::jsonpath;
873
873
- ^
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"
875
875
+DETAIL: source SQL:
876
876
+1b
877
877
+^
878
878
select '0b0x'::jsonpath;
879
879
-ERROR: syntax error at end of jsonpath input
880
880
-LINE 1: select '0b0x'::jsonpath;
881
881
- ^
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"
883
883
+DETAIL: source SQL:
884
884
+0b0x
885
885
+^
886
886
select '0o'::jsonpath;
887
887
-ERROR: trailing junk after numeric literal at or near "0o" of jsonpath input
888
888
-LINE 1: select '0o'::jsonpath;
889
889
- ^
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"
891
891
+DETAIL: source SQL:
892
892
+0o
893
893
+^
894
894
select '1o'::jsonpath;
895
895
-ERROR: trailing junk after numeric literal at or near "1o" of jsonpath input
896
896
-LINE 1: select '1o'::jsonpath;
897
897
- ^
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"
899
899
+DETAIL: source SQL:
900
900
+1o
901
901
+^
902
902
select '0o0x'::jsonpath;
903
903
-ERROR: syntax error at end of jsonpath input
904
904
-LINE 1: select '0o0x'::jsonpath;
905
905
- ^
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"
907
907
+DETAIL: source SQL:
908
908
+0o0x
909
909
+^
910
910
select '0x'::jsonpath;
911
911
-ERROR: trailing junk after numeric literal at or near "0x" of jsonpath input
912
912
-LINE 1: select '0x'::jsonpath;
913
913
- ^
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
915
915
+DETAIL: source SQL:
916
916
+0x
917
917
+^
918
918
select '1x'::jsonpath;
919
919
-ERROR: trailing junk after numeric literal at or near "1x" of jsonpath input
920
920
-LINE 1: select '1x'::jsonpath;
921
921
- ^
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
923
923
+DETAIL: source SQL:
924
924
+1x
925
925
+^
926
926
select '0x0y'::jsonpath;
927
927
-ERROR: syntax error at end of jsonpath input
928
928
-LINE 1: select '0x0y'::jsonpath;
929
929
- ^
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"
931
931
+DETAIL: source SQL:
932
932
+0x0y
933
933
+^
@@ -938,7 +938,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
938
938
- 1000000
939
939
-(1 row)
940
940
-
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_"
942
942
+DETAIL: source SQL:
943
943
+1_000_000
944
944
+^
@@ -948,7 +948,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
948
948
- 123
949
949
-(1 row)
950
950
-
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_"
952
952
+DETAIL: source SQL:
953
953
+1_2_3
954
954
+^
@@ -958,7 +958,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
958
958
- 518979583
959
959
-(1 row)
960
960
-
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_"
962
962
+DETAIL: source SQL:
963
963
+0x1EEE_FFFF
964
964
+^
@@ -968,7 +968,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
968
968
- 187
969
969
-(1 row)
970
970
-
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"
972
972
+DETAIL: source SQL:
973
973
+0o2_73
974
974
+^
@@ -978,7 +978,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
978
978
- 37
979
979
-(1 row)
980
980
-
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"
982
982
+DETAIL: source SQL:
983
983
+0b10_0101
984
984
+^
@@ -988,7 +988,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
988
988
- 1000.000005
989
989
-(1 row)
990
990
-
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_"
992
992
+DETAIL: source SQL:
993
993
+1_000.000_005
994
994
+^
@@ -998,7 +998,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
998
998
- 1000
999
999
-(1 row)
1000
1000
-
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_"
1002
1002
+DETAIL: source SQL:
1003
1003
+1_000.
1004
1004
+^
@@ -1018,7 +1018,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
1018
1018
- 10005
1019
1019
-(1 row)
1020
1020
-
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_"
1022
1022
+DETAIL: source SQL:
1023
1023
+1_000.5e0_1
1024
1024
+^
@@ -1035,15 +1035,15 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
1035
1035
-ERROR: trailing junk after numeric literal at or near "100_" of jsonpath input
1036
1036
-LINE 1: select '100_'::jsonpath;
1037
1037
- ^
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_"
1039
1039
+DETAIL: source SQL:
1040
1040
+100_
1041
1041
+^
1042
1042
select '100__000'::jsonpath;
1043
1043
-ERROR: syntax error at end of jsonpath input
1044
1044
-LINE 1: select '100__000'::jsonpath;
1045
1045
- ^
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_"
1047
1047
+DETAIL: source SQL:
1048
1048
+100__000
1049
1049
+^
@@ -1059,31 +1059,31 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
1059
1059
-ERROR: trailing junk after numeric literal at or near "1_000_" of jsonpath input
1060
1060
-LINE 1: select '1_000_.5'::jsonpath;
1061
1061
- ^
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_"
1063
1063
+DETAIL: source SQL:
1064
1064
+1_000_.5
1065
1065
+^
1066
1066
select '1_000._5'::jsonpath;
1067
1067
-ERROR: trailing junk after numeric literal at or near "1_000._" of jsonpath input
1068
1068
-LINE 1: select '1_000._5'::jsonpath;
1069
1069
- ^
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_"
1071
1071
+DETAIL: source SQL:
1072
1072
+1_000._5
1073
1073
+^
1074
1074
select '1_000.5_'::jsonpath;
1075
1075
-ERROR: trailing junk after numeric literal at or near "1_000.5_" of jsonpath input
1076
1076
-LINE 1: select '1_000.5_'::jsonpath;
1077
1077
- ^
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_"
1079
1079
+DETAIL: source SQL:
1080
1080
+1_000.5_
1081
1081
+^
1082
1082
select '1_000.5e_1'::jsonpath;
1083
1083
-ERROR: trailing junk after numeric literal at or near "1_000.5e" of jsonpath input
1084
1084
-LINE 1: select '1_000.5e_1'::jsonpath;
1085
1085
- ^
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_"
1087
1087
+DETAIL: source SQL:
1088
1088
+1_000.5e_1
1089
1089
+^
@@ -1092,23 +1092,23 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la
1092
1092
-ERROR: syntax error at end of jsonpath input
1093
1093
-LINE 1: select '0b_10_0101'::jsonpath;
1094
1094
- ^
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"
1096
1096
+DETAIL: source SQL:
1097
1097
+0b_10_0101
1098
1098
+^
1099
1099
select '0o_273'::jsonpath;
1100
1100
-ERROR: syntax error at end of jsonpath input
1101
1101
-LINE 1: select '0o_273'::jsonpath;
1102
1102
- ^
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"
1104
1104
+DETAIL: source SQL:
1105
1105
+0o_273
1106
1106
+^
1107
1107
select '0x_42F'::jsonpath;
1108
1108
-ERROR: syntax error at end of jsonpath input
1109
1109
-LINE 1: select '0x_42F'::jsonpath;
1110
1110
- ^
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_"
1112
1112
+DETAIL: source SQL:
1113
1113
+0x_42F
1114
1114
+^
0 commit comments