pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: David Fetter <david@fetter.org>
To: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: PGSERVICEFILE as a connection string parameter
Date: Sun, 26 Feb 2017 22:14:45 -0800
Message-ID: <20170227061445.GC2560@fetter.org> (raw)
In-Reply-To: <20170227060340.hfgstb2hglous2hd@alap3.anarazel.de>
References: <CAB7nPqQvYMNfrKKjXz37cADTXJf+fDLGTURTFWKcJ6Zi1757YQ@mail.gmail.com>
<20170227060340.hfgstb2hglous2hd@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Sun, Feb 26, 2017 at 10:03:40PM -0800, Andres Freund wrote:
> 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...
You bring up a salient point. What say we make pg_services a little
more universal? I'm guessing that the Java port wouldn't be too
complicated. It's already well defined.
Best,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (7+ messages) latest in thread
Message-ID: <20170227061445.GC2560@fetter.org> Permalink: ../20170227061445.GC2560@fetter.org/ Also on: postgresql.org/message-id/20170227061445.GC2560@fetter.org ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-jdbc@postgresql.org Cc: david@fetter.org, andres@anarazel.de, michael.paquier@gmail.com, pgsql-hackers@postgresql.org Subject: Re: PGSERVICEFILE as a connection string parameter In-Reply-To: <20170227061445.GC2560@fetter.org> References: <CAB7nPqQvYMNfrKKjXz37cADTXJf+fDLGTURTFWKcJ6Zi1757YQ@mail.gmail.com> <20170227060340.hfgstb2hglous2hd@alap3.anarazel.de> <20170227061445.GC2560@fetter.org> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox