Skip to content

Commit

Permalink
#43 and #75 support for schemas fix missing addSchema call
Browse files Browse the repository at this point in the history
  • Loading branch information
robe2 committed Aug 9, 2015
1 parent c7cec3b commit 57b2f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Export2DB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ std::cout << row_data << "\n";
" FROM __relations_temp a LEFT JOIN " + addSchema( "osm_relations" ) + " b USING (relation_id, type_id)"
" WHERE (b.relation_id IS NULL OR b.type_id IS NULL)"

" INSERT INTO osm_relations"
" INSERT INTO " + addSchema( "osm_relations" ) + " "
"( " + relations_columns + " ) "
" (SELECT " + relations_columns + " FROM data); ");
q_result = PQexec(mycon, insert_into_relations.c_str());
Expand Down

0 comments on commit 57b2f89

Please sign in to comment.