<p>Have a look at the lua processing in osm2pgsql.</p>
<p>I haven't verified if it actually goes through, but I think it should. In the lua script you can specify which relations should be processed into the line / roads / polygon tables and which ignored. So you should be able to say to include type=bridge relations and osm2pgsql will try and build geometries for them then.</p>
<p>E.g. <a href="https://github.com/openstreetmap/osm2pgsql/blob/master/style.lua#L82">https://github.com/openstreetmap/osm2pgsql/blob/master/style.lua#L82</a> encodes the current logic of only processing route, boundary and multipolygon relations.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/osm2pgsql/issues/116#issuecomment-32246674'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/4046574__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNTIyMTI1NCwiZGF0YSI6eyJpZCI6MjMzODYxOTN9fQ==--4170ae35bb7d12c6503560297807338d908566b9.gif' height='1' width='1'></p>