Ora2Pg 15 released - Mailing list pgsql-announce
From | Gilles Darold |
---|---|
Subject | Ora2Pg 15 released |
Date | |
Msg-id | 54D49C0B.2000006@dalibo.com Whole thread Raw |
List | pgsql-announce |
Ora2Pg 15 released Version 15.1 of Ora2Pg, a free and reliable tool used to migrate an Oracle database to PostgreSQL, has been officially released and is publicly available for download. This major release improve PL/SQL code replacement, fixes several bugs and adds some new useful features: - Add support to the PostgreSQL external_file extension to mimic BFILE type from Oracle. See https://github.com/darold/external_file for more information. - Allow export of Oracle's DIRECTORY as external_file extension objects This will also try to export read/write privilege on those directories. - Allow export of Oracle's DATABASE LINK as Oracle foreign data wrapper server using oracle_fdw. - Allow function with PRAGMA AUTONOMOUS_TRANSACTION to be exported through a dblink wrapper to achieve the autonomous transaction. - Allow export of Oracle's SYNONYMS as views. Views can use foreign table to create "synonym" on object of a remote database. - Add trimming of data when DATA_TYPE is used to convert CHAR(n) Oracle column into varchar(n) or text. Default is to trim both side any space character. This behavior can be controlled using two new configuration directives TRIM_TYPE and TRIM_CHAR. - Add auto detection of geometry constraint type and dimensions through spatial index parameters. This avoid the overhead of sequential scan of the geometric column. - Add support to export Oracle sub partition and create sub partition for PostgreSQL with the corresponding trigger. - ALLOW and EXCLUDE directives are now able to apply filter on the object type. Backward compatibility can not be fully preserved, older definition will apply to current export type only, this could change your export in some conditions. See documentation update for more explanation. - Add PACKAGE_AS_SCHEMA directive to change default behavior that use a schema to emulate Oracle package function call. When disable, all calls to package_name.function_name() will be turn into package_name_function_name() just like a function call in current schema. - Add FKEY_OPTIONS to force foreign keys options. List of supported options are: ON DELETE|UPDATE CASCADE|RESTRICT|NO ACTION. - Add rewriting of internal functions in package body, those functions will be prefixed by the package name. Thanks to Dominique Legendre for the feature request. Some change can break backward compatibility and make configuration directives obsolete: - The ALLOW_PARTITION configuration directive has been removed. With new extended filters in ALLOW/EXCLUDE directive, this one is obsolete. Backward compatibility is preserved but may be removed in the future. - ALLOW and EXCLUDE directives do not works as previously. Backward compatibility may be preserved with some export type but may be broken in most of them. See documentation. - It is recommended now to leave the NLS_LANG and CLIENT_ENCODING commented to let Ora2Pg handle automatically the encoding. Those directives may be removed in the future. As usual these also some bug fixes and Oracle to PostgreSQl conversion adjustments, see https://github.com/darold/ora2pg/blob/master/changelog for a complete list. Thanks to all contributors, they are all cited in the changelog file. With again for this release very specials thanks to Dominique Legendre. Useful Links: - Website: http://ora2pg.darold.net/ - Download: http://sourceforge.net/projects/ora2pg/ - Development: https://github.com/darold/ora2pg - Changelog: https://github.com/darold/ora2pg/blob/master/changelog - Documentation: https://github.com/darold/ora2pg/blob/master/README About Ora2Pg : Ora2Pg is an easy and reliable tool to migrate from Oracle to PostgreSQL. It is developed since 2001 and can export most of the Oracle objects (table, view, materialized view, tablespace, sequence, indexes, trigger, grant, function, procedure, package, partition, data, blob and external table). Ora2Pg works on any platform and is available under the GPL v3 licence. Docs, Download & Support at http://ora2pg.darold.net/ -- Gilles Darold http://dalibo.com - http://dalibo.org
pgsql-announce by date: