[osmosis-dev] Supplying postgres port to osmosis commands

Frederik Ramm frederik at remote.org
Fri Oct 10 20:34:12 UTC 2014


Hi,

On 10/10/2014 09:05 PM, Justin Palmer wrote:
> I have Postgres running on a non-default port and unfortunately it
> doesn't look like osmosis will accept a custom port 

Indeed it doesn't.

If you have nothing else on your port 5432, you can of course redirect
that port ("ssh localhost -L
5432:localhost:whereever-your-postgres-listens"). Else here's a patched
version of Osmosis that does support a "port" argument on all database
tasks:

https://github.com/woodpeck/osmosis/tree/database_port_support

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the osmosis-dev mailing list