Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- edgar@x230 ~/t/d/h/team-18 (master)> docker run -it --rm --link some-postgres:postgres -v (pwd):/workspace postgres psql -x -h postgres -U postgres -f workspace/data.sql
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- psql:workspace/data.sql:9: ERROR: null value in column "manager_id" violates not-null constraint
- DETAIL: Failing row contains (1, Russia, null).
- psql:workspace/data.sql:10: ERROR: null value in column "manager_id" violates not-null constraint
- DETAIL: Failing row contains (2, Germany, null).
- psql:workspace/data.sql:11: ERROR: null value in column "manager_id" violates not-null constraint
- DETAIL: Failing row contains (3, France, null).
- psql:workspace/data.sql:12: ERROR: null value in column "manager_id" violates not-null constraint
- DETAIL: Failing row contains (4, China, null).
- psql:workspace/data.sql:13: ERROR: null value in column "manager_id" violates not-null constraint
- DETAIL: Failing row contains (5, Japan, null).
- psql:workspace/data.sql:14: ERROR: null value in column "manager_id" violates not-null constraint
- DETAIL: Failing row contains (6, Israel, null).
- psql:workspace/data.sql:15: ERROR: null value in column "manager_id" violates not-null constraint
- DETAIL: Failing row contains (7, Spain, null).
- psql:workspace/data.sql:16: ERROR: null value in column "manager_id" violates not-null constraint
- DETAIL: Failing row contains (8, Italy, null).
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- psql:workspace/data.sql:24: ERROR: column "functionality_id" of relation "building" does not exist
- LINE 1: INSERT INTO Building (functionality_id, street, house, name)...
- ^
- psql:workspace/data.sql:25: ERROR: column "functionality_id" of relation "building" does not exist
- LINE 1: INSERT INTO Building (functionality_id, street, house, name)...
- ^
- psql:workspace/data.sql:26: ERROR: column "functionality_id" of relation "building" does not exist
- LINE 1: INSERT INTO Building (functionality_id, street, house, name)...
- ^
- psql:workspace/data.sql:27: ERROR: column "functionality_id" of relation "building" does not exist
- LINE 1: INSERT INTO Building (functionality_id, street, house, name)...
- ^
- INSERT 0 1
- INSERT 0 1
- INSERT 0 1
- psql:workspace/data.sql:33: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(1) is not present in table "countrydelegation".
- psql:workspace/data.sql:34: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(3) is not present in table "countrydelegation".
- psql:workspace/data.sql:35: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(1) is not present in table "countrydelegation".
- psql:workspace/data.sql:36: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(5) is not present in table "countrydelegation".
- psql:workspace/data.sql:37: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(5) is not present in table "countrydelegation".
- psql:workspace/data.sql:38: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(6) is not present in table "countrydelegation".
- psql:workspace/data.sql:39: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(8) is not present in table "countrydelegation".
- psql:workspace/data.sql:40: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(2) is not present in table "countrydelegation".
- psql:workspace/data.sql:41: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(5) is not present in table "countrydelegation".
- psql:workspace/data.sql:42: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(3) is not present in table "countrydelegation".
- psql:workspace/data.sql:43: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(8) is not present in table "countrydelegation".
- psql:workspace/data.sql:44: ERROR: insert or update on table "sportsman" violates foreign key constraint "sportsman_country_id_fkey"
- DETAIL: Key (country_id)=(8) is not present in table "countrydelegation".
- psql:workspace/data.sql:46: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(1) is not present in table "sportsman".
- psql:workspace/data.sql:47: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(1) is not present in table "sportsman".
- psql:workspace/data.sql:48: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(2) is not present in table "sportsman".
- psql:workspace/data.sql:49: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(1) is not present in table "sportsman".
- psql:workspace/data.sql:50: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(2) is not present in table "sportsman".
- psql:workspace/data.sql:51: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(3) is not present in table "sportsman".
- psql:workspace/data.sql:52: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(3) is not present in table "sportsman".
- psql:workspace/data.sql:53: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(4) is not present in table "sportsman".
- psql:workspace/data.sql:54: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(4) is not present in table "sportsman".
- psql:workspace/data.sql:55: ERROR: insert or update on table "sportsmantosport" violates foreign key constraint "sportsmantosport_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(4) is not present in table "sportsman".
- psql:workspace/data.sql:57: ERROR: null value in column "id" violates not-null constraint
- DETAIL: Failing row contains (null, 1, Andrey, +79818414604, 1).
- psql:workspace/data.sql:58: ERROR: null value in column "id" violates not-null constraint
- DETAIL: Failing row contains (null, 2, Gennadzi, +79818414605, 3).
- psql:workspace/data.sql:59: ERROR: null value in column "id" violates not-null constraint
- DETAIL: Failing row contains (null, 3, Nikolay, +79818414606, 3).
- psql:workspace/data.sql:60: ERROR: null value in column "id" violates not-null constraint
- DETAIL: Failing row contains (null, 4, Ivan, +79818414607, 1).
- psql:workspace/data.sql:61: ERROR: null value in column "id" violates not-null constraint
- DETAIL: Failing row contains (null, 5, Masha, +79818414607, 3).
- psql:workspace/data.sql:62: ERROR: null value in column "id" violates not-null constraint
- DETAIL: Failing row contains (null, 6, Bob, +49268464613, 2).
- psql:workspace/data.sql:63: ERROR: null value in column "id" violates not-null constraint
- DETAIL: Failing row contains (null, 7, John, +62278824605, 4).
- psql:workspace/data.sql:64: ERROR: null value in column "id" violates not-null constraint
- DETAIL: Failing row contains (null, 8, George, +7769964311, 2).
- psql:workspace/data.sql:66: ERROR: column "competition_timestamp" of relation "competition" does not exist
- LINE 1: INSERT INTO Competition (sport_id, competition_timestamp, bu...
- ^
- psql:workspace/data.sql:67: ERROR: column "competition_timestamp" of relation "competition" does not exist
- LINE 1: INSERT INTO Competition (sport_id, competition_timestamp, bu...
- ^
- psql:workspace/data.sql:68: ERROR: column "competition_timestamp" of relation "competition" does not exist
- LINE 1: INSERT INTO Competition (sport_id, competition_timestamp, bu...
- ^
- psql:workspace/data.sql:69: ERROR: column "competition_timestamp" of relation "competition" does not exist
- LINE 1: INSERT INTO Competition (sport_id, competition_timestamp, bu...
- ^
- psql:workspace/data.sql:70: ERROR: column "competition_timestamp" of relation "competition" does not exist
- LINE 1: INSERT INTO Competition (sport_id, competition_timestamp, bu...
- ^
- psql:workspace/data.sql:71: ERROR: column "competition_timestamp" of relation "competition" does not exist
- LINE 1: INSERT INTO Competition (sport_id, competition_timestamp, bu...
- ^
- psql:workspace/data.sql:72: ERROR: column "competition_timestamp" of relation "competition" does not exist
- LINE 1: INSERT INTO Competition (sport_id, competition_timestamp, bu...
- ^
- psql:workspace/data.sql:74: ERROR: insert or update on table "sportsmantocompetition" violates foreign key constraint "sportsmantocompetition_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(1) is not present in table "sportsman".
- psql:workspace/data.sql:75: ERROR: insert or update on table "sportsmantocompetition" violates foreign key constraint "sportsmantocompetition_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(1) is not present in table "sportsman".
- psql:workspace/data.sql:76: ERROR: insert or update on table "sportsmantocompetition" violates foreign key constraint "sportsmantocompetition_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(2) is not present in table "sportsman".
- psql:workspace/data.sql:77: ERROR: insert or update on table "sportsmantocompetition" violates foreign key constraint "sportsmantocompetition_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(3) is not present in table "sportsman".
- psql:workspace/data.sql:78: ERROR: insert or update on table "sportsmantocompetition" violates foreign key constraint "sportsmantocompetition_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(3) is not present in table "sportsman".
- psql:workspace/data.sql:79: ERROR: insert or update on table "sportsmantocompetition" violates foreign key constraint "sportsmantocompetition_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(3) is not present in table "sportsman".
- psql:workspace/data.sql:80: ERROR: insert or update on table "sportsmantocompetition" violates foreign key constraint "sportsmantocompetition_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(3) is not present in table "sportsman".
- psql:workspace/data.sql:81: ERROR: insert or update on table "sportsmantocompetition" violates foreign key constraint "sportsmantocompetition_sportsman_id_fkey"
- DETAIL: Key (sportsman_id)=(4) is not present in table "sportsman".
- psql:workspace/data.sql:83: ERROR: column "number" of relation "vehicle" does not exist
- LINE 1: INSERT INTO Vehicle (number, capacity) VALUES ('T672OP', 12)...
- ^
- psql:workspace/data.sql:84: ERROR: column "number" of relation "vehicle" does not exist
- LINE 1: INSERT INTO Vehicle (number, capacity) VALUES ('S991GO', 14)...
- ^
- psql:workspace/data.sql:85: ERROR: column "number" of relation "vehicle" does not exist
- LINE 1: INSERT INTO Vehicle (number, capacity) VALUES ('N991WE', 7);
- ^
- psql:workspace/data.sql:86: ERROR: column "number" of relation "vehicle" does not exist
- LINE 1: INSERT INTO Vehicle (number, capacity) VALUES ('K861VL', 5);
- ^
- psql:workspace/data.sql:88: ERROR: column "task_timestamp" of relation "task" does not exist
- LINE 1: INSERT INTO Task (content, vehicle_id, task_timestamp) VALUE...
- ^
- psql:workspace/data.sql:89: ERROR: column "task_timestamp" of relation "task" does not exist
- LINE 1: INSERT INTO Task (content, vehicle_id, task_timestamp) VALUE...
- ^
- psql:workspace/data.sql:90: ERROR: column "task_timestamp" of relation "task" does not exist
- LINE 1: INSERT INTO Task (content, vehicle_id, task_timestamp) VALUE...
- ^
- psql:workspace/data.sql:91: ERROR: column "task_timestamp" of relation "task" does not exist
- LINE 1: INSERT INTO Task (content, vehicle_id, task_timestamp) VALUE...
- ^
- psql:workspace/data.sql:94: ERROR: relation "coun" does not exist
- LINE 1: INSERT INTO Coun (key, val) VALUES (1, 5);
- ^
- psql:workspace/data.sql:95: ERROR: relation "coun" does not exist
- LINE 1: INSERT INTO Coun (key, val) VALUES (1, 6);
- ^
- psql:workspace/data.sql:96: ERROR: relation "coun" does not exist
- LINE 1: INSERT INTO Coun (key, val) VALUES (1, 7);
- ^
- psql:workspace/data.sql:97: ERROR: relation "coun" does not exist
- LINE 1: INSERT INTO Coun (key, val) VALUES (2, 4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement