diff --git a/changelog b/changelog index 1e2e0bfb..1bef5618 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,47 @@ -2016 02 29 - v17.1 +2016 03 24 - v17.2 + +This is a maintenance release to fix several issues reported in new +LOB extraction method. There is also some feature improvement: + + * Allow NUMBER with precision to be replaced as boolean. + * Allow full relocation of Ora2Pg installation using for + example: perl Makefile.PL DESTDIR=/opt/ora2pg + +Here is the complete list of other changes: + + - Allow NUMBER with precision to be replaced as boolean. Thanks + to Silvan Auer for the report. + - Force empty LOB to be exported as NULL when NO_LOB_LOCATOR is + activated to have the same behavior. + - Fix case where a LOB is NULL and ora2pg reports error : + DBD::Oracle::db::ora_lob_read: locator is not of type OCILobLocatorPtr + LOB initialised with EMPTY_CLOB() are also exported as NULL + instead of \\x + - Fix replacement with PERFORM after MINUS. Thanks to Stephane + Tachoires for the report. + - Comment DBMS_OUTPUT.ENABLE calls. Thanks to Stephane Tachoire for + the report. + - Fix wrong replacement of SELECT by PERFORM after EXCEPT. Thanks + to Stephane Tachoire for the report. + - Apply ORACLE_COPIES automatic predicate on custom queries set with + REPLACE_QUERY if possible. Thanks to pawelbs for the report. + - Fix install of ora2pg.conf file in /etc/ instead of /etc/ora2pg/. + Thanks to pawelbs for the report. + - Add debug information before searching for custom type. + - Attempt to fix error "ORA-01002: fetch out of sequence" when exporting + data from a table with user defined types and ORACLE_COPIES. Thanks to + pawelbs and Alex Ignatov fir the report. + - Fix replacement of path to configuration file in scripts/ora2pg + - Remove report sample from documentation about migration assessment + report and replace it with a href link. Fix comment about export of + domain index. + - Always prefix table name with schema in Oracle row count, to prevent + failure when the schema is not the connexion default. + - Add pattern TOAD_PLAN_.* to the internal table exclusion list. + - Fix modification of database owner search_path in import_all.sh auto + generated script. Thanks to Stephane Tachoire for the report. + +2016 02 29 - v17.2 This is a maintenance release to fix several issues reported in new TEST action. There is also some feature improvement: diff --git a/lib/Ora2Pg.pm b/lib/Ora2Pg.pm index 6baedfd8..1eef7085 100644 --- a/lib/Ora2Pg.pm +++ b/lib/Ora2Pg.pm @@ -41,7 +41,7 @@ use File::Temp qw/ tempfile /; #set locale to LC_NUMERIC C setlocale(LC_NUMERIC,"C"); -$VERSION = '17.1'; +$VERSION = '17.2'; $PSQL = $ENV{PLSQL} || 'psql'; $| = 1; diff --git a/lib/Ora2Pg/GEOM.pm b/lib/Ora2Pg/GEOM.pm index 40bb73ac..2c0f18d3 100644 --- a/lib/Ora2Pg/GEOM.pm +++ b/lib/Ora2Pg/GEOM.pm @@ -40,7 +40,7 @@ use vars qw($VERSION); use strict; -$VERSION = '17.1'; +$VERSION = '17.2'; # SDO_ETYPE # Second element of triplet in SDO_ELEM_INFO diff --git a/lib/Ora2Pg/MySQL.pm b/lib/Ora2Pg/MySQL.pm index fcc2c9af..fd64e484 100644 --- a/lib/Ora2Pg/MySQL.pm +++ b/lib/Ora2Pg/MySQL.pm @@ -9,7 +9,7 @@ use POSIX qw(locale_h); setlocale(LC_NUMERIC,"C"); -$VERSION = '17.1'; +$VERSION = '17.2'; # These definitions can be overriden from configuration file our %MYSQL_TYPE = ( diff --git a/lib/Ora2Pg/PLSQL.pm b/lib/Ora2Pg/PLSQL.pm index f0aad55f..14298ef7 100644 --- a/lib/Ora2Pg/PLSQL.pm +++ b/lib/Ora2Pg/PLSQL.pm @@ -31,7 +31,7 @@ use POSIX qw(locale_h); setlocale(LC_NUMERIC,"C"); -$VERSION = '17.1'; +$VERSION = '17.2'; #---------------------------------------------------- # Cost scores used when converting PLSQL to PLPGSQL diff --git a/packaging/README b/packaging/README index b121c9cb..50776baa 100644 --- a/packaging/README +++ b/packaging/README @@ -12,13 +12,13 @@ RPM/ The binary package may be found here: - ~/rpmbuild/RPMS/noarch/ora2pg-17.1-1.noarch.rpm + ~/rpmbuild/RPMS/noarch/ora2pg-17.2-1.noarch.rpm or - /usr/src/redhat/RPMS/i386/ora2pg-17.1-1.noarch.rpm + /usr/src/redhat/RPMS/i386/ora2pg-17.2-1.noarch.rpm To install run: - rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-17.1-1.noarch.rpm + rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-17.2-1.noarch.rpm slackbuild/ @@ -30,7 +30,7 @@ slackbuild/ then take a look at /tmp/build/ to find the Slackware package. To install run the following command: - installpkg /tmp/build/ora2pg-17.1-i486-1gda.tgz + installpkg /tmp/build/ora2pg-17.2-i486-1gda.tgz debian/ diff --git a/packaging/debian/ora2pg/DEBIAN/control b/packaging/debian/ora2pg/DEBIAN/control index dd4c6bcd..297944e5 100644 --- a/packaging/debian/ora2pg/DEBIAN/control +++ b/packaging/debian/ora2pg/DEBIAN/control @@ -1,5 +1,5 @@ Package: ora2pg -Version: 17.1 +Version: 17.2 Priority: optional Architecture: all Essential: no diff --git a/packaging/slackbuild/Ora2Pg.SlackBuild b/packaging/slackbuild/Ora2Pg.SlackBuild index a34d905a..b65ceb1a 100644 --- a/packaging/slackbuild/Ora2Pg.SlackBuild +++ b/packaging/slackbuild/Ora2Pg.SlackBuild @@ -12,7 +12,7 @@ ## Fill these variables to your needs ## NAMESRC=${NAMESRC:-ora2pg} -VERSION=${VERSION:-17.1} +VERSION=${VERSION:-17.2} EXT=${EXT:-tar.bz2} NAMEPKG=${NAMEPKG:-ora2pg} PKGEXT=${PKGEXT:-tgz/txz} diff --git a/packaging/slackbuild/Ora2Pg.info b/packaging/slackbuild/Ora2Pg.info index ec0edffe..f1af193a 100644 --- a/packaging/slackbuild/Ora2Pg.info +++ b/packaging/slackbuild/Ora2Pg.info @@ -1,7 +1,7 @@ PRGNAM="Ora2Pg" -VERSION="17.1" +VERSION="17.2" HOMEPAGE="http://ora2pg.darold.net/" -DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-17.1.tar.gz" +DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-17.2.tar.gz" MD5SUM="" DOWNLOAD_x86_64="UNTESTED" MD5SUM_x86_64="" diff --git a/scripts/ora2pg b/scripts/ora2pg index 608e5a0c..2a9a14da 100644 --- a/scripts/ora2pg +++ b/scripts/ora2pg @@ -31,7 +31,7 @@ use POSIX qw(locale_h sys_wait_h _exit); setlocale(LC_NUMERIC, ''); setlocale(LC_ALL, 'C'); -my $VERSION = '17.1'; +my $VERSION = '17.2'; $| = 1; diff --git a/scripts/ora2pg_scanner b/scripts/ora2pg_scanner index ec1770a4..281793f2 100644 --- a/scripts/ora2pg_scanner +++ b/scripts/ora2pg_scanner @@ -26,7 +26,7 @@ use strict; use Getopt::Long qw(:config no_ignore_case bundling); -my $VERSION = '17.1'; +my $VERSION = '17.2'; my @DB_DNS = (); my $OUTDIR = '';