<p></p>
<p><b>@joto</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/osm2pgsql/pull/1281#discussion_r499778156">src/options.cpp</a>:</p>
<pre style='color:#555'>>      std::string out{"fallback_application_name='osm2pgsql'"};
 
+    if (std::strchr(db.c_str(), '=') != nullptr) {
</pre>
<p>Yes, it probably would. But how likely is that? I haven't looked at the code in <code>psql</code>, but I implemented this from their man page and that says: <code>If this parameter contains an = sign...</code></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/1281#discussion_r499778156">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WDESILYROMTZ4O6G3SJIDEPANCNFSM4SEVEPAA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353UAV62BPM3Y2B5P5MLSJIDEPA5CNFSM4SEVEPAKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODXYG6MI.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/1281#discussion_r499778156",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1281#discussion_r499778156",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>