非互換
FUJITSU Enterprise Postgres 14では、幾何データ型の演算子「@」と「~」をサポートしないように変更します。
circleタイプの場合、「@」/「~」はサポートします。
[例]
=# SELECT point '(1,1)' @ circle '((0,0),2)'; ?column? ---------- t (1 row) =# SELECT circle '((0,0),2)' ~ point '(1,1)'; ?column? ---------- t (1 row)
circleタイプの場合、「@」/「~」はサポートしません。
[例]
=# SELECT point '(1,1)' @ circle '((0,0),2)';
ERROR: operator does not exist: point @ circle
LINE 1: SELECT point '(1,1)' @ circle '((0,0),2)';
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
=# SELECT circle '((0,0),2)' ~ point '(1,1)';
ERROR: operator does not exist: circle ~ point
LINE 1: SELECT circle '((0,0),2)' ~ point '(1,1)';
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.対処方法
演算子「@」と「~」の代わりに、「<@」と「@>」を使用してください。