Skip to content

Commit

Permalink
Update changelog and version to 17.6
Browse files Browse the repository at this point in the history
  • Loading branch information
darold committed Nov 17, 2016
1 parent fc7babe commit 4fc2a08
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 18 deletions.
71 changes: 69 additions & 2 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
2016 11 17 - v17.6

This release adds several new features:

* Adds export of Oracle Text Indexes into FTS or pg_trgm
based indexes,
* Add export of indexes defined on materialized views
* Allow export of materialized views as foreign tables
when export type is FDW.
* Add replacement of trim() by btrim().

Two new configuration directives have been added:

* USE_INDEX_OPCLASS: when value is set to 1, this will force
Ora2Pg to export all indexes defined on varchar2() and char()
columns using *_pattern_ops operators. If you set it to a value
greater than 1 it will only change indexes on columns where the
character limit is greater or equal than this value.

* CONTEXT_AS_TRGM: when enabled it forces Ora2Pg to translate
Oracle Text indexes into PostgreSQL indexes using pg_trgm
extension. Default is to translate CONTEXT indexes into FTS
indexes and CTXCAT indexes using pg_trgm. Some time using
pg_trgm based indexes is enough.

There's also some fixes of issues reported by users, here is the
complete list of changes:

- Fixed non-use of custom temp_dir (-T). Thanks to Sebastian
Albert for the patch.
- Make export of FTS indexes from materialized view work as
for tables.
- Fix drop of indexes during export of data when DROP_INDEXES
is enabled.
- Remove double quote in function and procedure name from an input
file to avoid creating a file with double quote in its name.
- Fix export of unique index associated to a primary key.
- Move OPTION (key "yes") of FDW table before NOT NUL constraint
and default clause.
- Fix some encoding issue during data export into file.
- Rename FTS indexes prefix output file into FTS_INDEXES and
export CTXCAT Oracle indexes as GIN pg_trgm indexes instead of
FTS indexes.
- Add export of indexes of type CTXCAT as FTS indexes.
- Export triggers and update order for FTS indexes to separate file
prefixed with FTS_INDEXES.
- Exclude from export synonyms starting with a slash that correspond
to incomplete deleted synonyms. Thanks to Nouredine Mallem for the
report.
- Add export of indexes defined on materialized views. Thanks to
Nouredine Mallem for the report.
- Fix export of foreign key and FTS indexes when looking at dba_*
tables and multiple different schemas have the same fk or context
indexes definition. Thanks to Nouredine Mallemfor the patch.
- Fix export of CONTEXT or FULLTEXT Oracle index into PostgreSQL
FTS with trigger and initial update statement.
- Add configuration directive USE_INDEX_OPCLASS to force Ora2Pg to
export all indexes defined on varchar2() and char() columns using
those operators. A value greater than 1 will only change indexes
on columns where the character limit is greater or equal than
this value.
- Fix FDW export of mysql tables. Thanks to yafeishi for the report.
- Fix decode() rewrite. Thanks to Jean-Yves Julliot for the report.
- Fix regression introduced into the export of NUMBER to integer
like PG types.
- Show partition name in progress bar instead of main table name.

2016 10 20 - v17.5

This is a maintenance release to fix several issues reported by users.
Expand Down Expand Up @@ -201,7 +268,7 @@ Here is the complete list of other changes:
- Fix debug mode that was interromping the last running table dump.
Thanks to calbiston for the report.

2016 04 21 - v17.5
2016 04 21 - v17.6

Errata in first release attempt.

Expand Down Expand Up @@ -233,7 +300,7 @@ Here is the complete list of other changes:
import. Thanks to Guillaume Lelarge for the report.
- Fix Makefile.PL to used with latest spec file from Devrim G�nd�z
and following the advice of calbiston.
- Update spec file to v17.5 and latest change to Makefile.PL
- Update spec file to v17.6 and latest change to Makefile.PL
- Replace ora2pg.spec by postgressql.org spec file by Devrim Gunduz.
- Generate man page to avoids rpmbuild error.
- Fix Windows install. Thanks to Lorena Figueredo for the report.
Expand Down
2 changes: 1 addition & 1 deletion lib/Ora2Pg/GEOM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use vars qw($VERSION);

use strict;

$VERSION = '17.5';
$VERSION = '17.6';

# SDO_ETYPE
# Second element of triplet in SDO_ELEM_INFO
Expand Down
2 changes: 1 addition & 1 deletion lib/Ora2Pg/MySQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use POSIX qw(locale_h);
setlocale(LC_NUMERIC,"C");


$VERSION = '17.5';
$VERSION = '17.6';

# These definitions can be overriden from configuration file
our %MYSQL_TYPE = (
Expand Down
2 changes: 1 addition & 1 deletion lib/Ora2Pg/PLSQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use POSIX qw(locale_h);
setlocale(LC_NUMERIC,"C");


$VERSION = '17.5';
$VERSION = '17.6';

#----------------------------------------------------
# Cost scores used when converting PLSQL to PLPGSQL
Expand Down
8 changes: 4 additions & 4 deletions packaging/README
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ RPM/

The binary package may be found here:

~/rpmbuild/RPMS/noarch/ora2pg-17.5-1.noarch.rpm
~/rpmbuild/RPMS/noarch/ora2pg-17.6-1.noarch.rpm
or
/usr/src/redhat/RPMS/i386/ora2pg-17.5-1.noarch.rpm
/usr/src/redhat/RPMS/i386/ora2pg-17.6-1.noarch.rpm

To install run:

rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-17.5-1.noarch.rpm
rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-17.6-1.noarch.rpm


slackbuild/
Expand All @@ -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.5-i486-1gda.tgz
installpkg /tmp/build/ora2pg-17.6-i486-1gda.tgz


debian/
Expand Down
6 changes: 3 additions & 3 deletions packaging/RPM/ora2pg.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: Oracle to PostgreSQL database schema converter
Name: ora2pg
Version: 17.5
Version: 17.6
Release: 1%{?dist}
Group: Applications/Databases
License: GPLv3+
Expand Down Expand Up @@ -55,8 +55,8 @@ Oracle database to a PostgreSQL database.
%{_docdir}/%{name}-%{version}/*

%changelog
* Sat Apr 9 2016 Gilles Darold <[email protected]> 17.5
- Update to 17.5
* Sat Apr 9 2016 Gilles Darold <[email protected]> 17.6
- Update to 17.6
- Append %{name} to CONFDIR and %{version} to DOCDIR in %files section

* Fri Mar 25 2016 Devrim Gündüz <[email protected]> 17.2-1
Expand Down
2 changes: 1 addition & 1 deletion packaging/debian/ora2pg/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: ora2pg
Version: 17.5
Version: 17.6
Priority: optional
Architecture: all
Essential: no
Expand Down
2 changes: 1 addition & 1 deletion packaging/slackbuild/Ora2Pg.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

## Fill these variables to your needs ##
NAMESRC=${NAMESRC:-ora2pg}
VERSION=${VERSION:-17.5}
VERSION=${VERSION:-17.6}
EXT=${EXT:-tar.bz2}
NAMEPKG=${NAMEPKG:-ora2pg}
PKGEXT=${PKGEXT:-tgz/txz}
Expand Down
4 changes: 2 additions & 2 deletions packaging/slackbuild/Ora2Pg.info
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PRGNAM="Ora2Pg"
VERSION="17.5"
VERSION="17.6"
HOMEPAGE="http://ora2pg.darold.net/"
DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-17.5.tar.gz"
DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-17.6.tar.gz"
MD5SUM=""
DOWNLOAD_x86_64="UNTESTED"
MD5SUM_x86_64=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/ora2pg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use POSIX qw(locale_h sys_wait_h _exit);
setlocale(LC_NUMERIC, '');
setlocale(LC_ALL, 'C');

my $VERSION = '17.5';
my $VERSION = '17.6';

$| = 1;

Expand Down
2 changes: 1 addition & 1 deletion scripts/ora2pg_scanner
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use strict;

use Getopt::Long qw(:config no_ignore_case bundling);

my $VERSION = '17.5';
my $VERSION = '17.6';

my @DB_DNS = ();
my $OUTDIR = '';
Expand Down

0 comments on commit 4fc2a08

Please sign in to comment.