I think you have to name the file "pg_service.conf" not ".pg_service.conf"
when setting PGSYSCONFDIR. It works well here.
By the way, these type of questions are better asked in qgis-user.
Cheers,
Olivier
On Thu, 27 Feb 2020 at 10:40, Jakob wrote:
> I have a .pg_service.conf file with a Post
I have a .pg_service.conf file with a Postgres connection use as a Service
connection in QGIS dialog "Create a New PostGIS Connection", running on
Windows 10.
This works fine when the pg_service is placed in the folder
"C:\Users\myuser\AppData\Roaming\Postgresql".
Now to change the folder of the