<p></p>
<p dir="auto">What are the tags on the object?</p>
<p dir="auto">If the same data in a PBF and XML gets different results, there's a bug.</p>
<p dir="auto">The fact that you're getting an error is not a bug - you're supplying a string literal for a text[] value. There's nothing wrong with doing that and doing the conversion yourself - in fact you must do it because there isn't a <a href="https://osm2pgsql.org/doc/manual.html#type-conversions" rel="nofollow">built-in conversion</a> but your code is responsible for getting the string literal right, including escaping.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/osm2pgsql-dev/osm2pgsql/issues/2128#issuecomment-1920929079">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353S3IE6NDQ52LQMN6VTYRNQS5AVCNFSM6AAAAABCUQ5GWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQHEZDSMBXHE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353VE73JFDTUE65EAQJ3YRNQS5A5CNFSM6AAAAABCUQ5GWCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTSP4GTO.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><osm2pgsql-dev/osm2pgsql/issues/2128/1920929079</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/osm2pgsql-dev/osm2pgsql/issues/2128#issuecomment-1920929079",
"url": "https://github.com/osm2pgsql-dev/osm2pgsql/issues/2128#issuecomment-1920929079",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>