]> granicus.if.org Git - postgresql/commit
Here the latest version and first working release of Ora2Pg a tool to export
authorBruce Momjian <bruce@momjian.us>
Sat, 23 Jun 2001 02:56:23 +0000 (02:56 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 23 Jun 2001 02:56:23 +0000 (02:56 +0000)
commit2e2d17ed51a478dce46400cd23dfa0889c57b592
tree69e12810997f3d0142376c0d7b3f3e4b70f8a535
parenta0c12d5e905fdea19cf529af4f2d76e74412abc8
Here the latest version and first working release of Ora2Pg a tool to export
Oracle database to PostgreSQL.

    It currently dump the database schema (tables, views, sequences,
    indexes, grants), with primary, unique and foreign keys into PostgreSQL
    syntax without editing the SQL code generated. You can dump only a
    particular schema from the Oracle database.

    Functions, procedures and triggers with SQL or PLSQL code generated must
    be reviewed to match the PostgreSQL syntax. Some usefull recommandation
    on porting Oracle to PostgreSQL can be found at
http://techdocs.postgresql.org/
    under the "Converting from other Databases to PostgreSQL" Oracle part. I
just
    notice one thing more is that the trunc() function in Oracle is the same for
number
    or date so be carefull when porting to PostgreSQL to use trunc() for number
and
    date_trunc() for date.

I will add more precision in type NUMBER conversion based on length to match
as closest as possible all rich PostgreSQL numerics type. But it seems not to be

urgent as it seems that Oracle DBAs only create number with length 22 (default)
Space seems not to be their problem...

Gilles DAROLD
contrib/oracle/CHANGES
contrib/oracle/Ora2Pg.pm
contrib/oracle/README.ora2pg
contrib/oracle/TODO
contrib/oracle/ora2pg.html
contrib/oracle/ora2pg.pl