ivorysql_ora
ivorysql : Oracle Compatible extension on Postgres Database
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 9140 | ivorysql_ora | ivorysql | 1.0 |
SIM | Apache-2.0 | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| Schemas | sys |
| Need By | ora_btree_gin ora_btree_gist |
| See Also | orafce db2fce session_variable pg_statement_rollback pgtt db_migrator |
| Siblings | ora_btree_gin ora_btree_gist pg_get_functiondef plisql gb18030_2022 |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0 |
18 17 16 15 14 | ivorysql |
- |
| RPM | PIGSTY | 5.4 |
18 17 16 15 14 | ivorysql-$v |
- |
| DEB | PIGSTY | 5.4 |
18 17 16 15 14 | ivorysql-$v |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el8.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el9.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el9.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el10.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el10.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| d12.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| d12.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| d13.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| d13.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u22.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u22.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u24.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u24.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u26.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u26.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
Source
github.com/IvorySQL/IvorySQL/tree/master/contrib/ivorysql_ora
ivorysql-5.4.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
ivorysql_ora: Oracle Compatible extension on Postgres Database
The ivorysql_ora extension provides Oracle compatibility features for PostgreSQL as part of the IvorySQL project. It adds Oracle-compatible data types, functions, and PL/SQL behavior.
Enabling
Oracle-Compatible Data Types
The extension adds Oracle-style data types including:
NUMBER/NUMBER(p,s)- Oracle-compatible numeric typeVARCHAR2(n)- Oracle-compatible variable-length stringDATE- Oracle-style DATE with time componentBINARY_FLOAT/BINARY_DOUBLE- IEEE floating point types
Oracle-Compatible Functions
Provides Oracle-style built-in functions for string manipulation, date arithmetic, numeric operations, and type conversion that behave consistently with Oracle semantics.
Compatibility Mode
IvorySQL supports an Oracle compatibility mode that changes parser behavior:
In Oracle mode, the SQL parser accepts Oracle-style syntax including:
- Oracle-style outer joins (
(+)syntax) CONNECT BYhierarchical queries- Oracle-style sequences (
sequence.NEXTVAL) - Package-style object references