From a61ba2ec3d575be3e9154f3995fd70a90082302e Mon Sep 17 00:00:00 2001 From: Gilles Darold Date: Fri, 2 Jul 2021 07:26:38 +0200 Subject: [PATCH] Update changelog and version to 22.1 --- changelog | 16 ++++++++++++++++ lib/Ora2Pg.pm | 2 +- lib/Ora2Pg/GEOM.pm | 2 +- lib/Ora2Pg/MySQL.pm | 2 +- lib/Ora2Pg/PLSQL.pm | 2 +- packaging/README | 10 +++++----- packaging/debian/ora2pg/DEBIAN/control | 2 +- packaging/slackbuild/Ora2Pg.SlackBuild | 2 +- packaging/slackbuild/Ora2Pg.info | 4 ++-- scripts/ora2pg | 2 +- scripts/ora2pg_scanner | 2 +- 11 files changed, 31 insertions(+), 15 deletions(-) diff --git a/changelog b/changelog index a60aa9da..2fa177b9 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,19 @@ +2021 07 02 - v22.1 + +This is a maintenance release to extend the feature of data export through the +oracle_fdw PostgreSQL extension to migration that use the public schema and +do not preserve case. + +There is also some other fixes: + + - Fix compile_schema() call that breaks valid function based indexes by + adding compile_all => FALSE to DBMS_UTILITY.compile_schema(). + Thanks to Pawel Fengler for the patch. + - Force foreign table for data export as readonly to avoid accidental + write if import schema is not cleaned. + - Fix data export to file not possible since last changes for oracle_fdw + export. Thanks to Niels Jespersen for the report. + 2021 06 26 - v22.0 This release fix several issues reported since past three months and diff --git a/lib/Ora2Pg.pm b/lib/Ora2Pg.pm index 18c19ec9..dc279fd9 100644 --- a/lib/Ora2Pg.pm +++ b/lib/Ora2Pg.pm @@ -43,7 +43,7 @@ use Encode; #set locale to LC_NUMERIC C setlocale(LC_NUMERIC,"C"); -$VERSION = '22.0'; +$VERSION = '22.1'; $PSQL = $ENV{PLSQL} || 'psql'; $| = 1; diff --git a/lib/Ora2Pg/GEOM.pm b/lib/Ora2Pg/GEOM.pm index c20dffd0..7c13abe3 100644 --- a/lib/Ora2Pg/GEOM.pm +++ b/lib/Ora2Pg/GEOM.pm @@ -40,7 +40,7 @@ use vars qw($VERSION); use strict; -$VERSION = '22.0'; +$VERSION = '22.1'; # SDO_ETYPE # Second element of triplet in SDO_ELEM_INFO diff --git a/lib/Ora2Pg/MySQL.pm b/lib/Ora2Pg/MySQL.pm index 1530ddc3..0cac61a4 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 = '22.0'; +$VERSION = '22.1'; # Some function might be excluded from export and assessment. our @EXCLUDED_FUNCTION = ('SQUIRREL_GET_ERROR_OFFSET'); diff --git a/lib/Ora2Pg/PLSQL.pm b/lib/Ora2Pg/PLSQL.pm index 7ffb3aa3..914256c8 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 = '22.0'; +$VERSION = '22.1'; #---------------------------------------------------- # Cost scores used when converting PLSQL to PLPGSQL diff --git a/packaging/README b/packaging/README index d4854f27..f7d1e1e5 100644 --- a/packaging/README +++ b/packaging/README @@ -12,13 +12,13 @@ RPM/ The binary package may be found here: - ~/rpmbuild/RPMS/noarch/ora2pg-22.0-1.noarch.rpm + ~/rpmbuild/RPMS/noarch/ora2pg-22.1-1.noarch.rpm or - /usr/src/redhat/RPMS/i386/ora2pg-22.0-1.noarch.rpm + /usr/src/redhat/RPMS/i386/ora2pg-22.1-1.noarch.rpm To install run: - rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-22.0-1.noarch.rpm + rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-22.1-1.noarch.rpm slackbuild/ @@ -30,11 +30,11 @@ slackbuild/ then take a look at /tmp/build/ to find the Slackware package. To install run the following command: - installpkg /tmp/build/ora2pg-22.0-i386-1gda.tgz + installpkg /tmp/build/ora2pg-22.1-i386-1gda.tgz or - installpkg /tmp/build/ora2pg-22.0-x86_64-1gda.tgz + installpkg /tmp/build/ora2pg-22.1-x86_64-1gda.tgz following the architecture. diff --git a/packaging/debian/ora2pg/DEBIAN/control b/packaging/debian/ora2pg/DEBIAN/control index 4b84a36e..3154563b 100644 --- a/packaging/debian/ora2pg/DEBIAN/control +++ b/packaging/debian/ora2pg/DEBIAN/control @@ -1,5 +1,5 @@ Package: ora2pg -Version: 22.0 +Version: 22.1 Priority: optional Architecture: all Essential: no diff --git a/packaging/slackbuild/Ora2Pg.SlackBuild b/packaging/slackbuild/Ora2Pg.SlackBuild index b22e23ad..d7ed8151 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:-22.0} +VERSION=${VERSION:-22.1} EXT=${EXT:-tar.bz2} NAMEPKG=${NAMEPKG:-ora2pg} PKGEXT=${PKGEXT:-tgz/txz} diff --git a/packaging/slackbuild/Ora2Pg.info b/packaging/slackbuild/Ora2Pg.info index f96b769d..5e8a8c33 100644 --- a/packaging/slackbuild/Ora2Pg.info +++ b/packaging/slackbuild/Ora2Pg.info @@ -1,7 +1,7 @@ PRGNAM="Ora2Pg" -VERSION="22.0" +VERSION="22.1" HOMEPAGE="http://ora2pg.darold.net/" -DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-22.0.tar.gz" +DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-22.1.tar.gz" MD5SUM="" DOWNLOAD_x86_64="UNTESTED" MD5SUM_x86_64="" diff --git a/scripts/ora2pg b/scripts/ora2pg index deafef7a..da77ee04 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 = '22.0'; +my $VERSION = '22.1'; $| = 1; diff --git a/scripts/ora2pg_scanner b/scripts/ora2pg_scanner index 7afed953..ed4771ff 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 = '22.0'; +my $VERSION = '22.1'; my @DB_DNS = (); my $OUTDIR = '';