Closed didmicang closed 5 months ago
I had the same problem with a 'desc' column. I think this problem is beyond the scope of ora2pg. I think you should fix it manually before performing the migration. If it is a possibility, modify the name of that column in your Oracle db.
You should enable USE_RESERVED_WORDS in ora2pg.conf, the column will be double quoted in ora2pg export.
I agree with @faqsarg that renaming the column could be a better solution otherwise each time you will use this column you will need to add double quote.
When migrating from Oracle to PostgreSQL with ora2pg v24.1 , I have the following problem :
CREATE TABLE gestion_couleur ( couleur_pas bigint NOT NULL, couleur_pas_correctif bigint NOT NULL, derniere_couleur varchar(10) NOT NULL, offset bigint NOT NULL, <---- Reserved word delta_minimal bigint NOT NULL ) ; How to fix the problem ?