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 342 forks source link

Oracle Auto Indexes are ignored #1589

Closed FranckPachot closed 1 year ago

FranckPachot commented 1 year ago

The indexes created by Oracle Auto Indexing are marked as GENERATED = 'Y' and then are ignored by ora2pg. A user that runs with Auto Indexing in Oracle probably wants the same indexes on PostgreSQL. Ideas:

darold commented 1 year ago

Hi Franck,

Commit e5fd2a0 fixes this issue using the dirty trick with the filter on column name. Thanks for detailed description of this issue, I was not aware of this new feature in Oracle 19c.