The behavior of osm2pgsql when no database is specified is changing in
the next release. New releases will rely on libpq to pick the database
if nothing is explicitly specified, typically either resulting in a
database of what the PGDATABASE environment variable is set to, or the
user's name.
If you are writing scripts that call osm2pgsql and rely on the default
behavior, you should add --database gis to your command line. This is a
good practice, even if you don't plan on updating.
Details on the change are at
https://github.com/openstreetmap/osm2pgsql/pull/685
_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev