Skip to content

Commit

Permalink
Update changelog and version to 16.2
Browse files Browse the repository at this point in the history
  • Loading branch information
darold committed Jan 12, 2016
1 parent ec3a016 commit f8acfe1
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 14 deletions.
66 changes: 66 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,69 @@
2016 01 12 - v16.2

This release fixes several issues and adds some new ora2pg command
line options:

* Add --pg_dsn, --pg_user and --pg_pwd to be able to set the
connection to import directly into PostgreSQL at command line.
* Add -f option to script import_all.sh to force to not check
user/database existing and skip their creation.

Potential backward compatibility issues:

* PG_SUPPORTS_CHECKOPTION is now enabled by default, you may want
to migrate to PostgreSQL 9.4 or above.
* Remove modification of CLIENT_ENCODING in generic configuration
file with --init_project, use the default instead.
* Remove modification of directive NLS_LANG to AMERICAN_AMERICA.UTF8
in generic configuration file with --init_project, use the default
instead.

Here is the complete list of other changes:

- Replace zero date also with prepared statement with online
PostgreSQL import and INSERT action. Thanks to Sebastian Albert
for the report.
- Remove REFERENCING clause in conditional triggers. Thanks to Raqua
for the report.
- Fix position of TG_OP condition when an exception is defined.
Thanks to Raqua for the report.
- Fix wrong replacement of SELECT with PERFORM when a comment was
found between an open parenthesis and the select statement.
Thanks to Raqua for the report.
- Fix procedure return type with OUT and INOUT parameter. Thanks to
Raqua for the report.
- Fix rewrite of triggers with referencing clause. Thanks to Raqua
for the report.
- Fix default number of --human_days_limit in usage.
- Fix replacement of placeholder %TEXTVALUE-d% to hide text string
in query during function call rewrite. Thanks to Lorena Figueredo
for the report.
- Fix progress bar when a WHERE clause is used to limit the number
of row to export.
- Fix error "DBD::Pg::db do failed: SSL error: decryption failed or
bad record mac" with pararellel table export (-P) and direct
import to PostgreSQL via a ssl connection. Thanks to pbe-axelor
for the report.
- Fix missing index name in indexes creation. Thanks to Raqua for
the report.
- Fix pg DSN in import_all.sh autogenerated script.
- Fix extraction of trigger. When the name of a column or something
contained INSERTING, DELETING or UPDATING was converted to TG_OP
= 'INSERT' or corresponding event. Thanks to Stanis�aw Jankowski
for the patch.
- Fix multiple use of same column in check constraint and indexes
of partitions when there was several schema with the same objects.
- Fix default value for HUMAN_DAY_LIMIT to 5 when it is not defined
in ora2pg.conf.
- Fix double quote on column name in COPY export of partition tables
Thanks to Chris Brick for the report.
- Prevent case with several time same column in multicolumns unique
constraints. Fix typo in previous patch.
- Fix double quoted name with auto incremented sequence exported as
serial.
- Fix syntax error with MySQL data export with a WHERE clause using
LIMIT.

2015 11 30 - v16.1

This release fixes several issues and adds some very useful features:
Expand Down
2 changes: 1 addition & 1 deletion lib/Ora2Pg.pm
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use File::Temp qw/ tempfile /;
#set locale to LC_NUMERIC C
setlocale(LC_NUMERIC,"C");

$VERSION = '16.1';
$VERSION = '16.2';
$PSQL = $ENV{PLSQL} || 'psql';

$| = 1;
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 = '16.1';
$VERSION = '16.2';

# 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 = '16.1';
$VERSION = '16.2';

# 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 = '16.1';
$VERSION = '16.2';

#----------------------------------------------------
# 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-16.1-1.noarch.rpm
~/rpmbuild/RPMS/noarch/ora2pg-16.2-1.noarch.rpm
or
/usr/src/redhat/RPMS/i386/ora2pg-16.1-1.noarch.rpm
/usr/src/redhat/RPMS/i386/ora2pg-16.2-1.noarch.rpm

To install run:

rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-16.1-1.noarch.rpm
rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-16.2-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-16.1-i486-1gda.tgz
installpkg /tmp/build/ora2pg-16.2-i486-1gda.tgz


debian/
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: 16.1
Version: 16.2
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:-16.1}
VERSION=${VERSION:-16.2}
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="16.1"
VERSION="16.2"
HOMEPAGE="http://ora2pg.darold.net/"
DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-16.1.tar.gz"
DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-16.2.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 = '16.1';
my $VERSION = '16.2';

$| = 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 = '16.1';
my $VERSION = '16.2';

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

0 comments on commit f8acfe1

Please sign in to comment.