<p></p>
<p>It shouldn't really matter that much. And while 99.80% of relations have a <code>type</code> tag, it is not required. And there are about 60.000 relations in the current planet hat only have a <code>type</code> tag. Most of them can probably be ignored, because they don't carry useful information, but what's to say that some <code>type</code>s are not enough? So maybe its better to leave it as it is to be on the "safe" side.</p>
<p>The bigger problem with your proposed change is that it removes the <code>type</code> tag from the tags hstore field added to the database. So there is some information lost here. We could add it back in, but removing it and then adding it back in also comes with its cost.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/1441#issuecomment-811054608">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VV25ET6HN2XLHVUYDTGMNJXANCNFSM42ERE63Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353XU7Y4ITEY65RHOQSTTGMNJXA5CNFSM42ERE632YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGBL3MEA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/1441#issuecomment-811054608",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1441#issuecomment-811054608",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>