Want to transfer data from multiple similar PostgreSQL tables to 1 Oracle table?
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.
Transfer data from multiple similar PostgreSQL tables to a single Oracle table
Login to PostgreSQL and Oracle -> Select source PostgreSQL tables -> Set the target Oracle table -> Copy PostgreSQL data to Oracle
Choose source PostgreSQL database and logon.

Choose target Oracle database and logon.

Click “Convert Similar Tables” at task dialog.

then show the wizard.
1. Select similar PostgreSQL tables.

2. Select a destination Oracle table and config fields.

3. Preview data.

4. Import data from multiple similar PostgreSQL tables to a single Oracle table.

More about PostgreSQL to Oracle converter
See also:
- Copy PostgreSQL table data to Oracle
- Copy PostgreSQL query results to 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.
