Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add port parameter to --wp #47

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

mvexel
Copy link

@mvexel mvexel commented Jan 5, 2019

This PR adds a port parameter to set the port the PostgreSQL database is running at so you can do

osmosis --rb planet/utah-latest.osm.pbf --wp database=osm port=5433 user=osm

This is convenient if you have multiple PostgreSQL instances running side by side or you are running the PostgreSQL server on some non-standard port for other reasons.

I did try host=localhost:5433 but that didn't work and also didn't seem like a very clean solution given that psql for example uses a separate parameter for it as well.

@brettch
Copy link
Member

brettch commented May 19, 2020

Seems like a useful change, however the Checkstyle violations will need to be fixed first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants