Want to transfer data from PostgreSQL table to Oracle ?
Try Withdata DBCopier, a PostgreSQL to Oracle converter for Windows, Mac, and Linux, Copy PostgreSQL data to Oracle, 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
Transfer data from PostgreSQL table To Oracle table
Login to PostgreSQL and Oracle -> Choose source PostgreSQL table -> Set target Oracle table -> Copy PostgreSQL data to Oracle
Choose source PostgreSQL database and logon.
Choose target Oracle database and logon.
Click “Convert From Table” at task dialog.
then show the wizard.
1. Open a source PostgreSQL table.
2. Select a destination Oracle table and config fields.
3. Preview data.
4. Import PostgreSQL data to Oracle.
More about PostgreSQL to Oracle 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:
- Copy PostgreSQL query results to Oracle table
- Merge multiple similar PostgreSQL tables to 1 Oracle table
- Batch copy PostgreSQL tables to Oracle
PostgreSQL → Oracle reference
Type mapping
| Value kind | in PostgreSQL | in Oracle |
|---|---|---|
| Int | integer | NUMBER(10) |
| Bigint | bigint | NUMBER(19) |
| Decimal | numeric(p,s) | NUMBER(p,s) |
| Float | double precision | BINARY_DOUBLE |
| Text | varchar(n) | VARCHAR2(n) |
| Long text | text | CLOB |
| Date | date | DATE |
| Datetime | timestamp | TIMESTAMP |
| Binary | bytea | BLOB |
| Boolean | boolean | NUMBER(1) |
| JSON | jsonb | CLOB |
Dialect differences
Both PostgreSQL and Oracle are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in PostgreSQL | in Oracle |
|---|---|---|
| port | 5432 | 1521 |
| row limit | LIMIT n | FETCH FIRST n ROWS ONLY |
| dates | timestamp, timestamptz, date, time | DATE, TIMESTAMP |
| long text | TEXT | CLOB, NCLOB |
| binary | BYTEA | BLOB, BFILE |
Command line
| Side | Command |
|---|---|
| PostgreSQL | pg_dump or COPY ... TO |
| Oracle | exp / expdp |
| Oracle (load) | sqlldr (SQL*Loader) |
| PostgreSQL (load) | COPY ... FROM |
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.