I'm migrating an Oracle stored procedure to AWS Aurora Postgres which has UTL_FILE
operations to read and write in external files. In the Exception part, I have all these exception types used.
UTL_FILE.invalid_path
, UTL_FILE.invalid_operation
, UTL_FILE.invalid_mode
, UTL_FILE.read_error
, UTL_FILE.write_error
, and WHEN OTHERS
.
Is it possible to handle all these exceptions in Postgres or should I go for orafce
extension?