<div dir="ltr"><div dir="ltr">Either use PGSERVICEFILE or put it /etc/postgresql-common/pg_service.conf. It's working well for me with QGIS 2.18.23.<br></div></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 6 sept. 2018 à 07:55, Jürgen E. Fischer <<a href="mailto:jef@norbit.de">jef@norbit.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Thomas,<br>
<br>
On Thu, 06. Sep 2018 at 13:44:40 +0200, Thomas Schüttenberg wrote:<br>
> Yes, I did that. The environment variable PGSYSCONFDIR is set also on the<br>
> server machine, it points to the same connection file and it works: QGIS on<br>
> the server pc can load layers with this service parameter.<br>
<br>
PGSERVICEFILE? <br>
<br>
<br>
Jürgen<br>
<br>
-- <br>
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31<br>
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50<br>
Software Engineer           D-26506 Norden             <a href="http://www.norbit.de" rel="noreferrer" target="_blank">http://www.norbit.de</a><br>
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>