X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D8ABD9DC945 for ; Tue, 14 Mar 2006 00:03:18 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 29594-06 for ; Tue, 14 Mar 2006 00:03:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id F2FEB9DCDC7 for ; Tue, 14 Mar 2006 00:03:15 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 93E7B3090A; Tue, 14 Mar 2006 05:03:14 +0100 (MET) From: Christopher Browne X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: pg_service.conf ? Date: Mon, 13 Mar 2006 22:57:03 -0500 Organization: cbbrowne Computing Inc Lines: 24 Message-ID: <87hd61smpc.fsf@wolfe.cbbrowne.com> References: <20060314032306.GA6901@fetter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org X-message-flag: Outlook is rather hackable, isn't it? X-Home-Page: http://www.cbbrowne.com/info/ X-Affero: http://svcs.affero.net/rm.php?r=cbbrowne User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:U5/cCeyFVrjBjZq3VAMn5/1Hk00= To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.722 required=5 tests=[AWL=-0.091, INFO_TLD=0.813] X-Spam-Score: 0.722 X-Spam-Level: X-Archive-Number: 200603/62 X-Sequence-Number: 14843 david@fetter.org (David Fetter) wrote: > Folks, > > It doesn't appear that the JDBC driver knows about pg_service.conf. > If that's so, would it be a big challenge to add that feature? > > Thanks in advance for any hints, tips, pointers, &c. :) Yeah, that would be a pretty slick thing. We're starting to look at this; using it initially so DBA accounts only need one PG value set to get psql to work. It's *tempting* to use pg_service.conf to control Slony-I. There's a fragility to it in that pg_service.conf has to be kept consistent on all the relevant servers, although that would normally be just one server per site... .pgpass support is under way, right? That's better than pg_service.conf :-). -- "cbbrowne","@","gmail.com" http://linuxfinances.info/info/finances.html "It don't mean a thing, if it ain't got that swing..."