[OSM-talk] osm2pgsql password for non-interactive use

Martijn van Oosterhout kleptog at gmail.com
Wed Sep 17 10:31:53 BST 2008


On Tue, Sep 16, 2008 at 9:57 PM, Michal Migurski <mike at stamen.com> wrote:
> Hi,
>
> It appears that osm2pgsql (SVN version 0.55-20080901) does not have a
> way to specify the db password on the command line. Is this true?
>
> It'd be nice to be able to run it without needing to babysit the
> password prompt at the beginning. Can this be added a flag?

I suggest you setup a pgpass file so you don't have to give a
password. Or just setup ident auth, which solves the problem entirely.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the talk mailing list