[Tile-serving] [openstreetmap/osm2pgsql] Add ability to provide conninfo string (database URL) in -d field (#1242)
FLacombe
notifications at github.com
Fri Jul 3 09:31:35 UTC 2020
Dear maintainers,
Many softwares using libpq allow to provide a conninfo string with all required information in one single field instead of 3 different arguments.
https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-CONNSTRING
For instance :
```sh
psql -d postgresql://mypgserver:5432/database
```
instead of
```sh
psql -d database -h mypgserver -p 5432
```
It actually ease config writing and make scripts a little lighter
Would you accept to add this possibility to osm2pgsql -d argument please ?
```sh
osm2pgsql -d postgresql://mypgserver:5432/database
```
All the best
--
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/issues/1242
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200703/b5f79566/attachment.htm>
More information about the Tile-serving
mailing list