Use Orafce for Oracle compatibility in PostgreSQL
masterOrafce provides functions and operators that emulate a subset of Oracle RDBMS functions and packages, facilitating the porting of Oracle applications to PostgreSQL. It is supported in AWS Aurora with PostgreSQL Compatibility and Azure Database for PostgreSQL.
To ensure proper function resolution (especially when Orafce functions share names with PostgreSQL built-ins), it is highly recommended to include the oracle schema in your search_path.
SET search_path TO oracle, "$user", public, pg_catalog;