Comments (4)
@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.
@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.
If this is successful I can add DEFERRABLE INITIALLY DEFERRED to all relations as with tww
from district_heating.
@sjib Yes, it was successful, thanks
from district_heating.
Related Issues (20)
- Setup.sh - duplicate psql import HOT 2
- QGIS : cannot add pipe_point HOT 1
- value lists pipe_point_normal.kind_missing_translations HOT 1
- Function to Synchronize trench_point.geometry and attribut altitude_channel_bottom HOT 2
- 09_tdh_dictionaries.sql : "tdh_od.plantype" does not exist HOT 1
- Editable views for QGIS pipe_point_normal and pipe_point_feed HOT 4
- trench_line.last_modification missing HOT 1
- structure_line and trench_line missing in the tdh_dictionary HOT 2
- sia405cc_cable - save error HOT 1
- SVG symbol library for District Heating HOT 2
- Pipe_section : attribut name typing mistake : lenght2
- Value list typing mistake : armatures.equipements.tuyeau_metallique (pipe_point_normal_kind) HOT 2
- add DEFERRABLE INITIALLY DEFERRED to all relations HOT 1
- PIPE_POINT_FEED : attributes year_of_* types (dates) HOT 4
- Table to import points from ground survey HOT 1
- Support several geometry types for lines (pipe_section, cables) and for polygons (structure, trench) HOT 2
- Naming convention for foreign keys HOT 4
- pipe_point_normal.kind : translation french to english (vanne or soupape) -> (valve) HOT 6
- Get latest datamodel dump and install tdh data model HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from district_heating.