<p></p>
<blockquote>
<p>I am a little bit surprised this even ever worked? Shouldn't this have thrown an exception in osm2pgsql, or is this from unreleased code only?</p>
</blockquote>
<p>The whole point of the code was that it does not throw an error, which is also why it is hard to catch with CI. See comment above the SQL statement.</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/pull/1293#issuecomment-710795206">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353XM52GONGDDKN2J533SLFVYNANCNFSM4STQQPKQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353WEID5OSQXUJIKW443SLFVYNA5CNFSM4STQQPK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFJO57RQ.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/pull/1293#issuecomment-710795206",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1293#issuecomment-710795206",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>