Re: [OSM-dev] osm2pgsql password support documentation

2010-05-25 Thread Sven Geggus
Jukka Rahkonen wrote: > Right, username can be given after -U parameter and -W can be used to make > osm2pgsql to ask for the password. It is not possible to give the > password from command line as -W my_password, it makes osm2pgsql to behave > oddly. If I remember right it is trying to open an

Re: [OSM-dev] osm2pgsql password support documentation

2010-05-23 Thread Jukka Rahkonen
Hi, Right, username can be given after -U parameter and -W can be used to make osm2pgsql to ask for the password. It is not possible to give the password from command line as -W my_password, it makes osm2pgsql to behave oddly. If I remember right it is trying to open an OSM file named "my_passwor

[OSM-dev] osm2pgsql password support documentation

2010-05-23 Thread Claudius
http://wiki.openstreetmap.org/wiki/Osm2pgsql says "DB access - There is no way to specify a user's password with osm2pgsql. So you either have to set your DB's authentication mechanism to 'trust' for the user/all users or work around it by creating a password file. See the postgreSQL documentati