[Tile-serving] [openstreetmap/osm2pgsql] Allow conninfo string in -d/--database option (#1281)

Jochen Topf notifications at github.com
Mon Oct 5 18:04:55 UTC 2020


@joto commented on this pull request.



>      std::string out{"fallback_application_name='osm2pgsql'"};
 
+    if (std::strchr(db.c_str(), '=') != nullptr) {

Yes, it probably would. But how likely is that? I haven't looked at the code in `psql`, but I implemented this from their man page and that says: `If this parameter contains an = sign...`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1281#discussion_r499778156
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201005/a6727abe/attachment.htm>


More information about the Tile-serving mailing list