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 298BA9DC885 for ; Tue, 14 Mar 2006 01:36:32 -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 41464-08 for ; Tue, 14 Mar 2006 01:36:31 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from fetter.org (dsl092-188-065.sfo1.dsl.speakeasy.net [66.92.188.65]) by postgresql.org (Postfix) with ESMTP id 0C9189DC83F for ; Tue, 14 Mar 2006 01:36:30 -0400 (AST) Received: by fetter.org (Postfix, from userid 500) id 3A203CF1CB; Mon, 13 Mar 2006 21:36:30 -0800 (PST) Date: Mon, 13 Mar 2006 21:36:30 -0800 From: David Fetter To: PostgreSQL JDBC List Subject: Re: pg_service.conf ? Message-ID: <20060314053630.GB10533@fetter.org> References: <20060314032306.GA6901@fetter.org> <87hd61smpc.fsf@wolfe.cbbrowne.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87hd61smpc.fsf@wolfe.cbbrowne.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.128 required=5 tests=[AWL=0.128] X-Spam-Score: 0.128 X-Spam-Level: X-Archive-Number: 200603/65 X-Sequence-Number: 14846 On Mon, Mar 13, 2006 at 10:57:03PM -0500, Christopher Browne wrote: > 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. That would be a Very Good Thing(TM) > 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... That's true. > .pgpass support is under way, right? That's better than > pg_service.conf :-). They shouldn't be mutually exclusive :) Cheers, D -- David Fetter david@fetter.org http://fetter.org/ phone: +1 415 235 3778 Remember to vote!