Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciEQw-0006SY-5m for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Feb 2017 06:05:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ciEQv-0007IG-NM for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Feb 2017 06:05:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ciEPR-0004di-Jm for pgsql-hackers@postgresql.org; Mon, 27 Feb 2017 06:03:45 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ciEPO-000302-VY for pgsql-hackers@postgresql.org; Mon, 27 Feb 2017 06:03:44 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DC8EB209F7; Mon, 27 Feb 2017 01:03:41 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 27 Feb 2017 01:03:41 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=aQSZ+Wm2Sh4zXs x7W3ijiDQlLIw=; b=C9fPkUFJ91tgCnUG/2riOn3kTesxxHTTlWe/gIlM1umH4P 0LLuWabjjbwE6uxTEltfOwJAhfWjMT+VuEHdWuCWUm8kpjVA7XPvllVzPmiuQcJ0 nrrxOkONDB8/PvkxnmRWkXX/0gpRMkis/eBbE+wm7ny9t6oQ+F16x8ty7MZh8= X-ME-Sender: X-Sasl-enc: LlnVBzr/qptm8Wu5SlmDj+Vh2hVq9iJdFUUaGrr3lKj4 1488175421 Received: from intern.anarazel.de (unknown [199.87.86.247]) by mail.messagingengine.com (Postfix) with ESMTPA id 9562F2423E; Mon, 27 Feb 2017 01:03:41 -0500 (EST) Date: Sun, 26 Feb 2017 22:03:40 -0800 From: Andres Freund To: Michael Paquier Cc: PostgreSQL mailing lists Subject: Re: PGSERVICEFILE as a connection string parameter Message-ID: <20170227060340.hfgstb2hglous2hd@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers