Enterprise PostgresのOracleデータベースとの互換機能のsubstr関数を使用したときの「No function matches the given name and argument types. You might need to add explicit type casts.」エラーについて
Enterprise Postgresのよくあるご質問を検索できます。
Enterprise Postgres の技術情報はこちら
- Enterprise PostgresのOracleデータベースとの互換機能のsubstr関数を使用したところ、「No function matches the given name and argument types. You might need to add explicit type casts.」というエラーになりました。原因と対処方法を教えてください。
-
[原因]
Oracleデータベースとの互換機能のsubstr関数を使用するための設定が不足していることが原因である場合があります。
[対処方法]
以下のいずれかの方法で対処してください。- postgresql.confのsearch_pathにoracleを追記してください。
- substr関数をoracleで修飾してください。(例:oracle.substr)
詳細は以下のマニュアルを参照してください。
FUJITSU Software Enterprise Postgres 13
アプリケーション開発ガイド
第9章 Oracleデータベースとの互換性
9.2 Oracleデータベース互換機能利用時の注意事項
9.2.1 SUBSTRの注意事項
なお、上記以外の製品バージョン/レベルについては、該当するマニュアル箇所を参照してください。
製品・サービス情報 |
|
||||
---|---|---|---|---|---|
アンサー種別 | 設計/開発 |