can osm2pgsql support PGSERVICEFILE ? #2437
-
|
and the service file contains something like: The benefit of this is that you do not specify a password on the command line and that the service file can be made to be temporary and specific to just one command, so no system-wide files with passwords, which I prefer personally. I was wondering if that feature is supported by thanks a lot for this open source and free software. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Yes, you can use all the PG* variables including PGSERVICEFILE and osm2pgsql will pick them up. It uses libpq under the hood. |
Beta Was this translation helpful? Give feedback.
-
|
Hmm, sorry because I must be doing something wrong then with this (with or without it says: Whereas this works for Perhaps there is a way to insert that |
Beta Was this translation helpful? Give feedback.
Yes, you can use all the PG* variables including PGSERVICEFILE and osm2pgsql will pick them up. It uses libpq under the hood.