[Tile-serving] [openstreetmap/osm2pgsql] How to automate osm2pgsql tasks with a PostgreSQL password (#596)

Zachary Mostowsky notifications at github.com
Thu Jan 11 02:01:06 UTC 2018


Hi @pnorman , 

I am having trouble getting osm2pgsql to work with a .pgpass file as you had specified in your previous reply. I have created the .pgpass in my home directory and removed the -W option from my command. I am still getting the no password supplied failure. Is osm2pgsql designed to automatically look for the .pgpass file when attempting to make the connection? Or am I missing as step?

Thank you greatly,
Zach

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/596#issuecomment-356800289
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180110/1ddda7de/attachment.html>


More information about the Tile-serving mailing list