<p></p>
<p>Dear maintainers,</p>
<p>Many softwares using libpq allow to provide a conninfo string with all required information in one single field instead of 3 different arguments.<br>
<a href="https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-CONNSTRING" rel="nofollow">https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-CONNSTRING</a></p>
<p>For instance :</p>
<div class="highlight highlight-source-shell"><pre>psql -d postgresql://mypgserver:5432/database</pre></div>
<p>instead of</p>
<div class="highlight highlight-source-shell"><pre>psql -d database -h mypgserver -p 5432</pre></div>
<p>It actually ease config writing and make scripts a little lighter<br>
Would you accept to add this possibility to osm2pgsql -d argument please ?</p>
<div class="highlight highlight-source-shell"><pre>osm2pgsql -d postgresql://mypgserver:5432/database</pre></div>
<p>All the best</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/1242">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VBSU3F7WZY2K7VT23RZWQPPANCNFSM4OPUUYIQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353SP2ON4ZSFFXSCLB5LRZWQPPA5CNFSM4OPUUYI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JWFNO2A.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/1242",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1242",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>