Just use the PGSERVICE variable:

    PGSERVICE=gis PGSERVICEFILE=credentials-gis.pg osm2pgsql ...

Or use a URI for the database parameter.

Please see the [osm2pgsql 
documentation](https://osm2pgsql.org/doc/manual.html#database-connection) on 
details for the URI and the [PostgreSQL 
documentation](https://www.postgresql.org/docs/current/libpq-envars.html) on 
details of environment variables.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2437#discussioncomment-15180526
You are receiving this because you are subscribed to this thread.

Message ID: 
<osm2pgsql-dev/osm2pgsql/repo-discussions/2437/comments/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to