非互換
Fujitsu Enterprise Postgres 15で、ECMAScript標準の仕様に厳密に一致した場合にのみECMAScript標準の仕様にしたがってjsonpath型に変換するように変更します。
ECMAScript標準の仕様に一致しない場合でもjsonpath型に変換する場合があります。
また、ECMAScript標準の仕様とは異なる形式で変換する場合があります。
postgres=# SELECT '1.type()'::jsonpath;
jsonpath
----------
1.type()
(1 row)
postgres=# SELECT '.001'::jsonpath;
ERROR: syntax error, unexpected '.' at or near "." of jsonpath input (19907)
LINE 1: SELECT '.001'::jsonpath;
^
postgres=#ECMAScript標準の仕様に一致する場合にのみECMAScript標準の仕様に従ってjsonpath型に変換します。
postgres=# SELECT '1.type()'::jsonpath;
ERROR: trailing junk after numeric literal at or near "1.t" of jsonpath input
LINE 1: SELECT '1.type()'::jsonpath;
^
postgres=# SELECT '.001'::jsonpath;
jsonpath
----------
0.001
(1 row)対処方法
ありません。