cityjson / cjdb

cjdb is a tool enabling CityJSON integration with a PostgreSQL database
https://cityjson.github.io/cjdb/
MIT License
11 stars 2 forks source link

PGPASSWORD does not get recognized #34

Open pcace opened 7 months ago

pcace commented 7 months ago

Hi there,

in bash (Ubuntu 22.04) the environment variable PGPASSWORD is not recognized when using this:

export PGPASSWORD='secure'; cjdb import -H localhost -U user -d testcjdb -s cjdb -f LoD2_326625712.jsonl what can be the reason for it? doing echo $PGPASSWORD clearly shows the password is in the environment. But it still asks for the password.

Any help would be great!

Thanks :)