What you need is Ora2Pg, which is a Perl module that is used to export an Oracle database schema to a PostgreSQL-compatible schema. It connects to your database, extracts the structure of the database and generates a SQL script that you can import into your Postgres database. It can dump the actual database schema (tables, views, sequences, indexes, grants), without editing the SQL code generated.
Ora2Pg is also capable of discharging the data in an online transaction, where one can choose what columns can be exported for each table. Features include database schema export (tables, views, sequences, indexes), grants/privileges export by user and group, data export and the SQL query converter. Best of all, the program is free and you can modify it under the same terms as Perl itself. Some more useful documentation on details of the process can be found here.
Related Q&A from Kenneth Milberg
Unix-to-Linux migration expert Ken Milberg describes how virtualization, support, clustering and more fit into the migration of an IT infrastructure ...continue reading
A reader new to Linux wonders about which distribution is recommended for installing Nagios and what Nahant and Tikanga mean.continue reading
Documentation for Red Hat Enterprise Linux 5 covering checking system performance, tuning, kernel configuration and extending the file system exists ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.