orafce | project implements in Postgres some of the functions | Database library
kandi X-RAY | orafce Summary
kandi X-RAY | orafce Summary
Functions and operators that emulate a subset of functions and packages from the Oracle RDBMS. There is an associated Google group - The Orafce is supported in AWS Aurora with PostgreSQL Compatibility and also in Azure Database for PostgreSQL.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of orafce
orafce Key Features
orafce Examples and Code Snippets
Community Discussions
Trending Discussions on orafce
QUESTION
we used orafce for our oracle to postgres migration, it work very well.
https://github.com/orafce.
Recently we try to migrate to cloud db, we choose the google cloud, however, I found that the google cloud is not support the orafce extension.
https://cloud.google.com/sql/docs/postgres/extensions#postgresql-extensions-supported-by-cloud-sql
Is it possible to support orafce extension in google cloud?
...ANSWER
Answered 2020-Oct-24 at 06:35At the moment “orafce” extension is not supported.
As you can see on this public issue tracker, many other users of Cloud SQL wish for this, I would recommend you to “star” or +1 this public issue in order to show your interest for this feature and by +1 it you will be updated for any changes on the implementation of this feature.
QUESTION
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?
ANSWER
Answered 2020-Jul-21 at 18:43What I know, The AWS Aurora Postgres uses Orafce too
Postgres has not custom named exceptions like Oracle, so you have to rewrite your code little bit, you have to check error message instead - for example - Oracle's UTL_FILE.write_error
is a Postgres's RAISE exception (named raise_exception
- P0001) with error message (available in SQLERRM
variable or via GET STACKED DIAGNOSTICS
) is "UTL_FILE_WRITE_ERROR"
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install orafce
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page