Withdata Software

Convert PostgreSQL To Oracle

Want to convert data from PostgreSQL to Oracle ?

Try Withdata DBCopier, a PostgreSQL to Oracle converter for Windows, Mac, and Linux, Convert PostgreSQL to Oracle, Easy and Fast.

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 PostgreSQL to Oracle

Login to PostgreSQL and Oracle -> Select source PostgreSQL tables -> Set target Oracle tables -> Convert PostgreSQL to Oracle

Choose source PostgreSQL database and logon.

Choose target Oracle database and logon.

Click “Wizard – Import All Tables” at task dialog.

then show the wizard.

1. Open source PostgreSQL.

2. List target Oracle tables.

3. Select Oracle tables to import.

4. Convert data from PostgreSQL to Oracle.


More about PostgreSQL to Oracle converter

See also:

PostgreSQL → Oracle reference

Type mapping

Value kindin PostgreSQLin Oracle
IntintegerNUMBER(10)
BigintbigintNUMBER(19)
Decimalnumeric(p,s)NUMBER(p,s)
Floatdouble precisionBINARY_DOUBLE
Textvarchar(n)VARCHAR2(n)
Long texttextCLOB
DatedateDATE
DatetimetimestampTIMESTAMP
BinarybyteaBLOB
BooleanbooleanNUMBER(1)
JSONjsonbCLOB

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.

Propertyin PostgreSQLin Oracle
port54321521
row limitLIMIT nFETCH FIRST n ROWS ONLY
datestimestamp, timestamptz, date, timeDATE, TIMESTAMP
long textTEXTCLOB, NCLOB
binaryBYTEABLOB, BFILE

Command line

SideCommand
PostgreSQLpg_dump or COPY ... TO
Oracleexp / 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.