herrkaefer / psycopgr

A Python wrapper of pgRouting for routing from nodes to nodes on real map.
MIT License
28 stars 7 forks source link

Support for password protected databases #7

Closed Walle-walle closed 5 years ago

Walle-walle commented 5 years ago

Dear herrkaefer, what is the reason why the constructor of PGRouting does not take a password for the database connection as argument and passes it to psycopg2.connect? The possibility to access a password protected PG database would be really helpful.

herrkaefer commented 5 years ago

@Walle-walle Thanks for this. I'll let PGRouting take parameters that psycopg2 takes for db connection.