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 DFA0D9DCDE4 for ; Tue, 14 Mar 2006 11:52:52 -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 59499-07 for ; Tue, 14 Mar 2006 11:52:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id 2034D9DCDD8 for ; Tue, 14 Mar 2006 11:52:47 -0400 (AST) Received: from 221x253x225x162.ap221.ftth.ucom.ne.jp ([221.253.225.162] helo=[192.168.1.171]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1FJBpI-0005TZ-Kk; Wed, 15 Mar 2006 04:52:48 +1300 Message-ID: <4416E6CB.803@opencloud.com> Date: Wed, 15 Mar 2006 00:52:43 +0900 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christopher Browne CC: pgsql-jdbc@postgresql.org Subject: Re: pg_service.conf ? References: <20060314032306.GA6901@fetter.org> <6E83976B-8045-45F0-8CE9-254594635224@fastcrypt.com> <20060314053058.GA10533@fetter.org> <9D3A667E-AA13-45A8-AE11-073FDB194585@fastcrypt.com> <87bqw9rxxw.fsf@wolfe.cbbrowne.com> In-Reply-To: <87bqw9rxxw.fsf@wolfe.cbbrowne.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/69 X-Sequence-Number: 14850 Christopher Browne wrote: > Note that libpq takes the perspective that pg_service.conf should live > in the ../etc directory for the PostgreSQL build. Thus, if psql is > living as /opt/dbs/pgsql825/bin/psql, then this would be in > /opt/dbs/pgsql825/etc/pg_service.conf. The big thing here is "how do we find the config file?". The JDBC driver has no concept of an "installation" .. it's just classes that the JVM manages to load somehow. -O