Giter Club home page Giter Club logo

Comments (4)

jpdupuy avatar jpdupuy commented on August 26, 2024

@sjib
ALTER TABLE tdh_od.pipe_point_normal ALTER CONSTRAINT oorel_od_pipe_point_normal_pipe_point DEFERRABLE INITIALLY DEFERRED

I followed your instructions, but did have any success 👎 with fme (also run set constraints all deferred (sql to run before write)
Bulk copy failed on table 'tdh_od.trench_line' using delimiter ':'. Error was 'ERROR: insert or update on table "trench_line" violates foreign key constraint "rel_trench_line_trench"
DETAIL: Key (fk_trench)=(1) is not present in table "trench".

from district_heating.

sjib avatar sjib commented on August 26, 2024

@jpdupuy This is not the problem of pipe_point subclasses anymore (?) but of trench_line.fk_trench
You have to set DEFERRABLE INITIALLY DEFERRED for that relation also.
If this is a new error then the first step was a success.

from district_heating.

sjib avatar sjib commented on August 26, 2024

If this is successful I can add DEFERRABLE INITIALLY DEFERRED to all relations as with tww

from district_heating.

jpdupuy avatar jpdupuy commented on August 26, 2024

@sjib Yes, it was successful, thanks

from district_heating.

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.