Want to convert data from Oracle to PostgreSQL ?
Try Withdata DBCopier, a Oracle to PostgreSQL converter for Windows, Mac, and Linux, Convert Oracle to PostgreSQL, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Support Windows, Linux, and macOS.
Download Withdata DBCopier
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Convert data from Oracle to PostgreSQL
Login to Oracle and PostgreSQL -> Select source Oracle tables -> Set target PostgreSQL tables -> Convert Oracle to PostgreSQL
Choose source Oracle database and logon.
Choose target PostgreSQL database and logon.
Click “Wizard – Import All Tables” at task dialog.
then show the wizard.
1. Open source Oracle.
2. List target PostgreSQL tables.
3. Select PostgreSQL tables to import.
4. Convert data from Oracle to PostgreSQL.
More about Oracle to PostgreSQL converter
Download Withdata DBCopier
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
See also:
Oracle → PostgreSQL reference
Type mapping
| Value kind | in Oracle | in PostgreSQL |
|---|---|---|
| Int | NUMBER(10) | integer |
| Bigint | NUMBER(19) | bigint |
| Decimal | NUMBER(p,s) | numeric(p,s) |
| Float | BINARY_DOUBLE | double precision |
| Text | VARCHAR2(n) | varchar(n) |
| Long text | CLOB | text |
| Date | DATE | date |
| Datetime | TIMESTAMP | timestamp |
| Binary | BLOB | bytea |
| Boolean | NUMBER(1) | boolean |
| JSON | CLOB | jsonb |
Dialect differences
Both Oracle and PostgreSQL are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in Oracle | in PostgreSQL |
|---|---|---|
| port | 1521 | 5432 |
| row limit | FETCH FIRST n ROWS ONLY | LIMIT n |
| dates | DATE, TIMESTAMP | timestamp, timestamptz, date, time |
| long text | CLOB, NCLOB | TEXT |
| binary | BLOB, BFILE | BYTEA |
Command line
| Side | Command |
|---|---|
| Oracle | exp / expdp |
| PostgreSQL | pg_dump or COPY ... TO |
| PostgreSQL (load) | COPY ... FROM |
| Oracle (load) | sqlldr (SQL*Loader) |
Convert your data online, free
Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.