Re: PGSERVICEFILE as a connection string parameter

From: Andres Freund <andres(at)anarazel(dot)de>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PGSERVICEFILE as a connection string parameter
Date: 2017-02-27 06:03:40
Message-ID: 20170227060340.hfgstb2hglous2hd@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

Hi,

On 2017-02-27 14:43:49 +0900, Michael Paquier wrote:
> I bumped into a case where it would have been rather useful to specify
> a service file path in a connection string with a service name. In my
> case, I have finished by setting up PGSERVICEFILE, but now like
> PGPASSFILE I think that being able to define the service file
> available as well as a connection parameter would be useful as well.
>
> I am not planning to work on that immediately (there is one day left
> for the last CF of PG10!), but I was wondering if people would be
> interested in something like that.

Hm - I'm not sure that's a good idea. service files are a libpq feature,
but connection strings are a bit more universal than just libpq...

Regards,

Andres

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2017-02-27 06:14:45 Re: PGSERVICEFILE as a connection string parameter
Previous Message Amit Kapila 2017-02-27 05:58:41 Re: SerializedSnapshotData alignment

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Fetter 2017-02-27 06:14:45 Re: PGSERVICEFILE as a connection string parameter
Previous Message Michael Paquier 2017-02-27 05:43:49 PGSERVICEFILE as a connection string parameter