Skip to content

Commit 5540083

Browse files
committed
middle-pgsql: fix member entries in relation table
1 parent de71d16 commit 5540083

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

middle-pgsql.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ void middle_pgsql_t::relations_set(osmium::Relation const &rel)
595595
for (auto const &m : rel.members()) {
596596
m_db_copy.add_array_elem(osmium::item_type_to_char(m.type()) +
597597
std::to_string(m.ref()));
598+
m_db_copy.add_array_elem(m.role());
598599
}
599600
m_db_copy.finish_array();
600601
}

0 commit comments

Comments
 (0)