Skip to content

[DAT-18825] Oracle Datapump restore failing with ORA-14650 and ORA-00942 errors #264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: ddb
Choose a base branch
from
Open
Next Next commit
[DAT-18825] - evaluate regression for "easy fix"
  • Loading branch information
v-petrovych committed Mar 19, 2025
commit ec3b72f546fb05f03307402d17be596ffa101058
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
import liquibase.statement.SequenceCurrentValueFunction;
import liquibase.statement.SequenceNextValueFunction;
import liquibase.statement.SqlStatement;
import liquibase.statement.core.*;
import liquibase.statement.core.GetViewDefinitionStatement;
import liquibase.statement.core.RawCallStatement;
import liquibase.structure.DatabaseObject;
import liquibase.structure.core.*;
import liquibase.util.ISODateFormat;
Expand Down Expand Up @@ -763,7 +764,7 @@ public void dropDatabaseObjects(final CatalogAndSchema schemaToDrop) throws Liqu
typesToInclude.remove(PrimaryKey.class);
typesToInclude.remove(UniqueConstraint.class);

if (supportsForeignKeyDisable() || getShortName().equals("postgresql")) {
if (supportsForeignKeyDisable() || getShortName().equals("postgresql") || getShortName().equals("oracle")) {
//We do not remove ForeignKey because they will be disabled and removed as parts of tables.
// Postgress is treated as if we can disable foreign keys because we can't drop
// the foreign keys of a partitioned table, as discovered in
Expand Down