Skip to content

osm2pgsql --user, but osm2pgsql-replication --username #2342

@knowname

Description

@knowname

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions