Skip to content

Commit 6a8d272

Browse files
committed
Update changelog and version to v24.2
1 parent 5ee236b commit 6a8d272

File tree

11 files changed

+120
-15
lines changed

11 files changed

+120
-15
lines changed

changelog

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,108 @@
1+
2024 03 07 - v24.2
2+
3+
This release fix several issues reported since last release and adds some
4+
new features and improvements.
5+
6+
* Allow DATA_EXPORT_ORDER to take a filename at value to be able to
7+
give a custom table order. The file must contain the ordered list
8+
of the tables. One table per line in upper case for Oracle. Thanks
9+
to DataCloudGaze for the feature request.
10+
* Add progress bar when --oracle_speed is used to avoid waiting for
11+
the whole data export ends.
12+
* Add replacement of the BITAND function by the & operator
13+
* Add option -f, --format to set the output format for the reports.
14+
It can be html or json. Default to html. Thanks to mgole001 for the
15+
feature request.
16+
* Add automatic addition of the partition key to the primary key. Prefix
17+
all columns with the alias in the query to get data from Oracle.
18+
* Add information about MSSQL masked columns in SHOW_COLUMN.
19+
* Add information about columnstore and compression on MSCSQL tables with
20+
action SHOW_TABLE.
21+
* Add new configuration directive PARTITION_BY_REFERENCE to defined.
22+
23+
How to export Oracle partition by reference. Possible values are none,
24+
duplicate or the number of hash partitions to create.
25+
26+
Value 'none' mean no translation and export of partition by reference
27+
like before. Value 'duplicate' will duplicate the referenced column
28+
in the partitioned table and apply the same partitioning from the
29+
referenced table to the partitioned table. If the value is a number,
30+
the table will be partitioned with the HASH method using the value
31+
as the modulo. For example if you set it to 4 it will create 4 HASH
32+
partitions.
33+
34+
Default is none to not export the partitions by reference definition.
35+
36+
Here is the full list of changes and acknowledgements:
37+
38+
- Fix default values in MSSQL function declaration and missing END keyword.
39+
- Fix parsing of MSSQL function with a single query. Thanks to Saravanan Newt
40+
for the report.
41+
- Fix negative Oracle decimal when comparing data. Thanks to es99-24 for the
42+
report.
43+
- Fix typos in documentation. Thanks to Simon Martin for the report.
44+
- Avoid doubling the NAME keyword in the XMLELEMENT() function.
45+
- Remove clause "REFERENCING OLD AS OLD NEW AS NEW" that is useless and throw
46+
an error in PostgreSQL
47+
- Fix DSN for MSSQL in autogenerated configuration file using --init_project.
48+
- Fix parsing of REFERENCING clause in trigger. Thanks to Carens Kurniawan
49+
Wijaya for the report.
50+
- Fix case where ALL_TAB_COLUMNS and ALL_SDO_GEOM_METADATA was used instead
51+
of USER_TAB_COLUMNS. Thanks to rvanouter for the report.
52+
- Fix double quoting in partition by reference where clause.
53+
- Disallow setting of PARTITION_BY_REFERENCE to duplicate when FDW_SERVER
54+
is set.
55+
- Fix trigger export with duplicate FOR EACH clause when a REFERENCING clause
56+
is present. Thanks to Carens Kurniawan Wijaya for the report.
57+
- Fix typo in variable name in ora2pg_scanner
58+
- Fix export of default partition for MySQL. Thanks to Priyanshi Gupta for
59+
the report.
60+
- Fix TEST_DATA action with issues on foreign server and import foreign schema
61+
declaration. Thanks to Florent Jardin for the report.
62+
- Fix export of NOT NULL constraint with column replacement. Thanks to Florent
63+
Jardin for the report.
64+
- Prevent reading file ora2pg_stdout_locker when it does not exist. Thanks to
65+
Florent Jardin for the report.
66+
- Fix translation of timestamp with precision < 6. Thanks to Andrei Briukhov
67+
for the report.
68+
- Fix json_arrayagg with returning clause, type was not translated.
69+
- Fix data export for table partitioned by reference with duplicate method.
70+
The query to extract data on Oracle side add the duplicated column and
71+
perform the join with the referenced table using the FK definition.
72+
- Fix partition by LIST export with a useless cast to text. Thanks to
73+
Priyanshi Gupta for the report.
74+
- Added closing curly bracket for object details. Thanks to andreas42 for
75+
the patch.
76+
- Added quotes around value of "human days cost" and "migration level".
77+
Thanks to andreas42 for the patch.
78+
- Format object type detail output as JSON array. Thanks to andreas42 for
79+
thepatch.
80+
- Fix variable declaration in previous commit
81+
- Fix MSSQL table export with nonexistent column auto_created in version
82+
bellow 2017. Thanks to Florent Jardin for the report.
83+
- Use ADD CONSTRAINT syntax to specify name of primary key. Thanks to Martin
84+
Karlgren for the patch.
85+
- Skip unwanted work on PG database when option --oracle_speed is enabled,
86+
especially drop of constraints. Thanks to John Tian for the report.
87+
- Remove trailing ); from primary key statements when reading from file.
88+
Thanks to Martin Karlgren for the patch.
89+
- Fix option in CREATE USER MAPPING for export of DBLINK.
90+
- Fix translation of MSSQL floating point datatype to use float(n) notation.
91+
- Exclude from assessment objects in Oracle bin.
92+
- Add Oracle package HTP and HTF to migration assessment.
93+
- Fix MSSQL foreign key export with multiple columns referenced.
94+
- Fix MSSQL export of unique constraints that was merging columns of several
95+
unique constraints for the same table into a single constraint.
96+
- Fix case of MSSQL datetime default value 0 that must be converted to
97+
'1900-01-01 00:00:00'
98+
- Add rewrite of MSSQL getutcdate() function.
99+
- Fix MSSQL index type and add compression + columnstore information
100+
- Add clause IF NOT EXIST to all CREATE EXTENSION calls
101+
- Fix MSSQL bit data migration through tds_fdw, it is already exported
102+
as boolean by the fdw.
103+
- Fix duplicated indexes in MSSQL export.
104+
- Add export of MSSQL indexes with columns included (CREATE INDEX+INCLUDE).
105+
1106
2023 09 08 - v24.1
2107

3108
This release fix several issues reported since last release and adds some

lib/Ora2Pg.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use Encode;
4343
#set locale to LC_NUMERIC C
4444
setlocale(LC_NUMERIC,"C");
4545

46-
$VERSION = '24.1';
46+
$VERSION = '24.2';
4747
$PSQL = $ENV{PLSQL} || 'psql';
4848

4949
$| = 1;

lib/Ora2Pg/GEOM.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use vars qw($VERSION);
4040

4141
use strict;
4242

43-
$VERSION = '24.1';
43+
$VERSION = '24.2';
4444

4545
# SDO_ETYPE
4646
# Second element of triplet in SDO_ELEM_INFO

lib/Ora2Pg/MySQL.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use POSIX qw(locale_h);
1010
setlocale(LC_NUMERIC,"C");
1111

1212

13-
$VERSION = '24.1';
13+
$VERSION = '24.2';
1414

1515
# Some function might be excluded from export and assessment.
1616
our @EXCLUDED_FUNCTION = ('SQUIRREL_GET_ERROR_OFFSET');

lib/Ora2Pg/Oracle.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use Encode;
1111
#set locale to LC_NUMERIC C
1212
setlocale(LC_NUMERIC,"C");
1313

14-
$VERSION = '24.1';
14+
$VERSION = '24.2';
1515

1616
# Some function might be excluded from export and assessment.
1717
our @EXCLUDED_FUNCTION = ('SQUIRREL_GET_ERROR_OFFSET');

lib/Ora2Pg/PLSQL.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use POSIX qw(locale_h);
3131
setlocale(LC_NUMERIC,"C");
3232

3333

34-
$VERSION = '24.1';
34+
$VERSION = '24.2';
3535

3636
#----------------------------------------------------
3737
# Cost scores used when converting PLSQL to PLPGSQL

packaging/README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ RPM/
1212

1313
The binary package may be found here:
1414

15-
~/rpmbuild/RPMS/noarch/ora2pg-24.1-1.noarch.rpm
15+
~/rpmbuild/RPMS/noarch/ora2pg-24.2-1.noarch.rpm
1616
or
17-
/usr/src/redhat/RPMS/i386/ora2pg-24.1-1.noarch.rpm
17+
/usr/src/redhat/RPMS/i386/ora2pg-24.2-1.noarch.rpm
1818

1919
To install run:
2020

21-
rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-24.1-1.noarch.rpm
21+
rpm -i ~/rpmbuild/RPMS/noarch/ora2pg-24.2-1.noarch.rpm
2222

2323

2424
slackbuild/
@@ -30,11 +30,11 @@ slackbuild/
3030
then take a look at /tmp/build/ to find the Slackware package.
3131
To install run the following command:
3232

33-
installpkg /tmp/build/ora2pg-24.1-i386-1gda.tgz
33+
installpkg /tmp/build/ora2pg-24.2-i386-1gda.tgz
3434

3535
or
3636

37-
installpkg /tmp/build/ora2pg-24.1-x86_64-1gda.tgz
37+
installpkg /tmp/build/ora2pg-24.2-x86_64-1gda.tgz
3838

3939
following the architecture.
4040

packaging/debian/ora2pg/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: ora2pg
2-
Version: 24.1
2+
Version: 24.2
33
Priority: optional
44
Architecture: all
55
Essential: no

packaging/slackbuild/Ora2Pg.SlackBuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Fill these variables to your needs ##
1414
NAMESRC=${NAMESRC:-ora2pg}
15-
VERSION=${VERSION:-24.1}
15+
VERSION=${VERSION:-24.2}
1616
EXT=${EXT:-tar.bz2}
1717
NAMEPKG=${NAMEPKG:-ora2pg}
1818
PKGEXT=${PKGEXT:-tgz/txz}

packaging/slackbuild/Ora2Pg.info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PRGNAM="Ora2Pg"
2-
VERSION="24.1"
2+
VERSION="24.2"
33
HOMEPAGE="http://ora2pg.darold.net/"
4-
DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-24.1.tar.gz"
4+
DOWNLOAD="http://downloads.sourceforge.net/ora2pg/ora2pg-24.2.tar.gz"
55
MD5SUM=""
66
DOWNLOAD_x86_64="UNTESTED"
77
MD5SUM_x86_64=""

0 commit comments

Comments
 (0)