Closed dcgadmin closed 3 months ago
Yes please submit a patch.
Commit a29a4b5 fixes the documentation but I'm seriously thinking of changing that for INVALID object too, not to disabled triggers.
Commit 37d6dc9 makes triggers export acts like others objects following the EXPORT_INVALID value. The ENABLE/DISABLE status is not more taken in account.
In Ora2pg EXPORT_INVALID is by default disable and only export or convert objects that is VALID in Oracle.
For Trigger, we have following conditions in the code, that fetch Trigger that is only Enable. Hence it is missing exporting Trigger that is disable but not invalid. Ideally the status of invalid should be driven by dba_objects view.
As per Documentation, EXPORT_INVALID types applies to
AFAIK, we can ignore EXPORT_INVALID for checking only Enable if not, Document need to be updated accordingly. IF needed can submit a patch to merge.