Giter Club home page Giter Club logo

Comments (3)

bjornbak avatar bjornbak commented on July 18, 2024

Update:

I used
FILE_PER_TABLE 1
FKEY_DEFERRABLE 0
DEFER_FKEY 0
DROP_FKEY 1

which resulted in separate files for each table. According to the documentation in ora2pg.conf this a possible configuration if one transaction (and one file) is too big to manage). But it doesn't work because in the latter commits the DROP CONSTAINT and CREATE CONSTRAINT are moved to the per table files as described above.

FILE_PER_TABLE 0 doesn't help because the DROP CONSTAINT and CREATE CONSTRAINT are still inserted around the individual table COPY.

As the size of my tables is managable it's a possible for me to change to:

FILE_PER_TABLE 0
FKEY_DEFERRABLE 1
DEFER_FKEY 1
DROP_FKEY 0

But the DROP_FKEY option is in reality broken.

from ora2pg.

darold avatar darold commented on July 18, 2024

Yes, Christian, sorry for the response delay. I understand what you mean and I'm agree that this is a regression. I will rewrite this part tonight or tomorrow.

from ora2pg.

darold avatar darold commented on July 18, 2024

This should have been fixed by last commit f552760.

from ora2pg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.