|
| 1 | +2024 03 29 - v24.3 |
| 2 | + |
| 3 | +This release fix several issues reported since last release and adds some |
| 4 | +new features and improvements. |
| 5 | + |
| 6 | + |
| 7 | + * Add option control the "prefetch" used by oracle_fdw COPY/INSERT |
| 8 | + Prior to this change Ora2Pg uses the default "prefetch" of oracle_fdw, |
| 9 | + which at the time of writing is 50. Allowing this to be controlled by an |
| 10 | + Ora2Pg configuration/option gives the option of increased performance at |
| 11 | + the cost of some additional memory on the PostgreSQL side. Thanks to Martin |
| 12 | + Nash for the patch. |
| 13 | + |
| 14 | + * Modify the behavior of triggers export with EXPORT_INVALID. It used to |
| 15 | + apply to ENABLED or DISABLED triggers instead of real VALID or INVALID |
| 16 | + triggers. Export of INVALID triggers will be controlled by EXPORT_INVALID |
| 17 | + like others objects like functions, packages, etc. This mean that disabled |
| 18 | + triggers that are valid will be exported by default now, this was not |
| 19 | + the case before. Thanks to dcgadmin for the feature request. |
| 20 | + |
| 21 | + * Add new configuration directive PGTT_NOSUPERUSER. By default the pgtt |
| 22 | + extension is loaded using the superuser privilege when EXPORT_GTT is |
| 23 | + activated. Enabled it if you run the SQL scripts generated using a non |
| 24 | + superuser user. It will use: |
| 25 | + |
| 26 | + LOAD '$libdir/plugins/pgtt'; |
| 27 | + |
| 28 | + instead of default: |
| 29 | + |
| 30 | + LOAD 'pgtt'; |
| 31 | + |
| 32 | + Thanks to Simon Martin for the feature request. |
| 33 | + |
| 34 | +Here is the full list of changes and acknowledgements: |
| 35 | + |
| 36 | + - Fix Inf replacement that must only be done with numeric datatype. Thanks to |
| 37 | + gael-efluid for the report. |
| 38 | + - Fix some replacement of OUTER JOIN (+). Thanks to Carens Kurniawan Wijaya |
| 39 | + for the report. |
| 40 | + - Fix schema filter with test function count. Thanks to dcgadmin for the |
| 41 | + report. |
| 42 | + - Fix TEST count objects when a table name is modified. Thanks to korolan |
| 43 | + for the report. |
| 44 | + - Fix issue with multi style comments. Thanks to newtglobal.com for the patch. |
| 45 | + - Fix documentation about EXPORT_INVALID to precise that it also concern |
| 46 | + disabled triggers. Thanks to dcgadmin for the report. |
| 47 | + - Fix missing FOR EACH clause in trigger export after a regression introduced |
| 48 | + by commit fb6b0ad. Thanks to Carens Kurniawan Wijaya for the report. |
| 49 | + - Fix data export for table with a geometry column. Thanks to ruralqiu for the |
| 50 | + report. |
| 51 | + - Revert changes introduced by commit fc7008c, for some obscurs Oracle reasons |
| 52 | + the DBA_SDO_GEOM_METADATA doesn't always exist. |
| 53 | + Always uses ALL_SDO_GEOM_METADATA instead. Thanks to ruralqiu and |
| 54 | + Pierre3939 for the report. |
| 55 | + |
| 56 | +2024 03 07 - v24.2 |
| 57 | + |
| 58 | +This release fix several issues reported since last release and adds some |
| 59 | +new features and improvements. |
| 60 | + |
| 61 | + * Allow DATA_EXPORT_ORDER to take a filename at value to be able to |
| 62 | + give a custom table order. The file must contain the ordered list |
| 63 | + of the tables. One table per line in upper case for Oracle. Thanks |
| 64 | + to DataCloudGaze for the feature request. |
| 65 | + * Add progress bar when --oracle_speed is used to avoid waiting for |
| 66 | + the whole data export ends. |
| 67 | + * Add replacement of the BITAND function by the & operator |
| 68 | + * Add option -f, --format to set the output format for the reports. |
| 69 | + It can be html or json. Default to html. Thanks to mgole001 for the |
| 70 | + feature request. |
| 71 | + * Add automatic addition of the partition key to the primary key. Prefix |
| 72 | + all columns with the alias in the query to get data from Oracle. |
| 73 | + * Add information about MSSQL masked columns in SHOW_COLUMN. |
| 74 | + * Add information about columnstore and compression on MSCSQL tables with |
| 75 | + action SHOW_TABLE. |
| 76 | + * Add new configuration directive PARTITION_BY_REFERENCE to defined |
| 77 | + how to export Oracle partition by reference. Possible values are none, |
| 78 | + duplicate or the number of hash partitions to create. |
| 79 | + Value 'none' mean no translation and export of partition by reference |
| 80 | + like before. Value 'duplicate' will duplicate the referenced column |
| 81 | + in the partitioned table and apply the same partitioning from the |
| 82 | + referenced table to the partitioned table. If the value is a number, |
| 83 | + the table will be partitioned with the HASH method using the value |
| 84 | + as the modulo. For example if you set it to 4 it will create 4 HASH |
| 85 | + partitions. |
| 86 | + Default is none to not export the partitions by reference definition. |
| 87 | + |
| 88 | +Here is the full list of changes and acknowledgements: |
| 89 | + |
| 90 | + - Fix default values in MSSQL function declaration and missing END keyword. |
| 91 | + - Fix parsing of MSSQL function with a single query. Thanks to Saravanan Newt |
| 92 | + for the report. |
| 93 | + - Fix negative Oracle decimal when comparing data. Thanks to es99-24 for the |
| 94 | + report. |
| 95 | + - Fix typos in documentation. Thanks to Simon Martin for the report. |
| 96 | + - Avoid doubling the NAME keyword in the XMLELEMENT() function. |
| 97 | + - Remove clause "REFERENCING OLD AS OLD NEW AS NEW" that is useless and throw |
| 98 | + an error in PostgreSQL |
| 99 | + - Fix DSN for MSSQL in autogenerated configuration file using --init_project. |
| 100 | + - Fix parsing of REFERENCING clause in trigger. Thanks to Carens Kurniawan |
| 101 | + Wijaya for the report. |
| 102 | + - Fix case where ALL_TAB_COLUMNS and ALL_SDO_GEOM_METADATA was used instead |
| 103 | + of USER_TAB_COLUMNS. Thanks to rvanouter for the report. |
| 104 | + - Fix double quoting in partition by reference where clause. |
| 105 | + - Disallow setting of PARTITION_BY_REFERENCE to duplicate when FDW_SERVER |
| 106 | + is set. |
| 107 | + - Fix trigger export with duplicate FOR EACH clause when a REFERENCING clause |
| 108 | + is present. Thanks to Carens Kurniawan Wijaya for the report. |
| 109 | + - Fix typo in variable name in ora2pg_scanner |
| 110 | + - Fix export of default partition for MySQL. Thanks to Priyanshi Gupta for |
| 111 | + the report. |
| 112 | + - Fix TEST_DATA action with issues on foreign server and import foreign schema |
| 113 | + declaration. Thanks to Florent Jardin for the report. |
| 114 | + - Fix export of NOT NULL constraint with column replacement. Thanks to Florent |
| 115 | + Jardin for the report. |
| 116 | + - Prevent reading file ora2pg_stdout_locker when it does not exist. Thanks to |
| 117 | + Florent Jardin for the report. |
| 118 | + - Fix translation of timestamp with precision < 6. Thanks to Andrei Briukhov |
| 119 | + for the report. |
| 120 | + - Fix json_arrayagg with returning clause, type was not translated. |
| 121 | + - Fix data export for table partitioned by reference with duplicate method. |
| 122 | + The query to extract data on Oracle side add the duplicated column and |
| 123 | + perform the join with the referenced table using the FK definition. |
| 124 | + - Fix partition by LIST export with a useless cast to text. Thanks to |
| 125 | + Priyanshi Gupta for the report. |
| 126 | + - Added closing curly bracket for object details. Thanks to andreas42 for |
| 127 | + the patch. |
| 128 | + - Added quotes around value of "human days cost" and "migration level". |
| 129 | + Thanks to andreas42 for the patch. |
| 130 | + - Format object type detail output as JSON array. Thanks to andreas42 for |
| 131 | + the patch. |
| 132 | + - Fix variable declaration in previous commit |
| 133 | + - Fix MSSQL table export with nonexistent column auto_created in version |
| 134 | + bellow 2017. Thanks to Florent Jardin for the report. |
| 135 | + - Use ADD CONSTRAINT syntax to specify name of primary key. Thanks to Martin |
| 136 | + Karlgren for the patch. |
| 137 | + - Skip unwanted work on PG database when option --oracle_speed is enabled, |
| 138 | + especially drop of constraints. Thanks to John Tian for the report. |
| 139 | + - Remove trailing ); from primary key statements when reading from file. |
| 140 | + Thanks to Martin Karlgren for the patch. |
| 141 | + - Fix option in CREATE USER MAPPING for export of DBLINK. |
| 142 | + - Fix translation of MSSQL floating point datatype to use float(n) notation. |
| 143 | + - Exclude from assessment objects in Oracle bin. |
| 144 | + - Add Oracle package HTP and HTF to migration assessment. |
| 145 | + - Fix MSSQL foreign key export with multiple columns referenced. |
| 146 | + - Fix MSSQL export of unique constraints that was merging columns of several |
| 147 | + unique constraints for the same table into a single constraint. |
| 148 | + - Fix case of MSSQL datetime default value 0 that must be converted to |
| 149 | + '1900-01-01 00:00:00' |
| 150 | + - Add rewrite of MSSQL getutcdate() function. |
| 151 | + - Fix MSSQL index type and add compression + columnstore information |
| 152 | + - Add clause IF NOT EXIST to all CREATE EXTENSION calls |
| 153 | + - Fix MSSQL bit data migration through tds_fdw, it is already exported |
| 154 | + as boolean by the fdw. |
| 155 | + - Fix duplicated indexes in MSSQL export. |
| 156 | + - Add export of MSSQL indexes with columns included (CREATE INDEX+INCLUDE). |
| 157 | + |
1 | 158 | 2023 09 08 - v24.1 |
2 | 159 |
|
3 | 160 | This release fix several issues reported since last release and adds some |
|
0 commit comments