darold / ora2pg

Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.
http://www.ora2pg.com/
GNU General Public License v3.0
1.01k stars 343 forks source link

Include modify_struct/exclude_columns on Postgres side in test_data #1661

Closed mariuskh closed 1 year ago

mariuskh commented 1 year ago

When running TEST_DATA with directives MODIFY_STRUCT or EXCLUDE_COLUMNS, only the Oracle side is modified. This PR uses the function is_in_struct to modify the Postgres list of columns.

darold commented 1 year ago

Thanks!