Re: PGSERVICEFILE as part of a normal connection string - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: PGSERVICEFILE as part of a normal connection string
Date
Msg-id e0e11b469d5c3a39b9c02b3407d1da394292f4e4.camel@cybertec.at
Whole thread Raw
List pgsql-hackers
On Mon, 2024-11-18 at 21:21 +0100, Torsten Förtsch wrote:
> I like to bundle all my database connections in a .pg_service.conf. Over time I
> collected a bunch of such service files. A while back I discovered that the
> service file can only be specified as an environment variable. It cannot be
> given as part of the connection string like
>
> psql "service=$MY_SERVICE servicefile=MY_SERVICE_FILE"
>
> The attached patch allows that.

+1 for the idea (I didn't test the patch).

Yours,
Laurenz Albe



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Statistics Import and Export
Next
From: Bruce Momjian
Date:
Subject: Re: Doc: typo in config.sgml