[Tile-serving] [osm2pgsql-dev/osm2pgsql] `osm2pgsql --user`, but `osm2pgsql-replication --username` (Issue #2342)

knowname notifications at github.com
Wed Jun 4 13:24:37 UTC 2025


knowname created an issue (osm2pgsql-dev/osm2pgsql#2342)

I am running `osm2pgsql version 2.1.1` and noticed that the command line options for `osm2pgsql` and `osm2pgsql-replication` are differing regarding the database user. 

```
/# osm2pgsql -h | grep -i username
  -U,--user USERNAME

# osm2pgsql-replication update -h | grep -i username
  -U, --username NAME   PostgreSQL user name
```

## What version of osm2pgsql are you using?

osm2pgsql --version
osm2pgsql version 2.1.1 (2.1.1)
Build: RelWithDebInfo
Compiled using the following library versions:
Libosmium 2.22.0
Proj 9.6.0
Lua 5.1.4 (LuaJIT 2.1.1723681758)

## What operating system and PostgreSQL/PostGIS version are you using?

Alpine / Postgres 17 / PostGIS 3.5


## What did you expect to happen?

I´d expect consistent naming. Obviously a minor flaw.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/issues/2342
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/issues/2342 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250604/9e6451e0/attachment.htm>


More information about the Tile-serving mailing list