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 E132D9DC9DD for ; Tue, 14 Mar 2006 13:03:36 -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 72306-02 for ; Tue, 14 Mar 2006 13:03:35 -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 F0C7E9DCBFB for ; Tue, 14 Mar 2006 13:03:33 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 5F1FB30CBC; Tue, 14 Mar 2006 18:03:32 +0100 (MET) From: Christopher Browne X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: pg_service.conf ? Date: Tue, 14 Mar 2006 11:55:35 -0500 Organization: cbbrowne Computing Inc Lines: 23 Message-ID: <8764mhrmns.fsf@wolfe.cbbrowne.com> 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> <7502CD48-CB03-4CEB-81EA-82E708108BC6@fastcrypt.com> 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:Hfn0SfB3vStgmW03LNWN/jVo7Rc= To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.725 required=5 tests=[AWL=-0.088, INFO_TLD=0.813] X-Spam-Score: 0.725 X-Spam-Level: X-Archive-Number: 200603/71 X-Sequence-Number: 14852 In an attempt to throw the authorities off his trail, pg@fastcrypt.com (Dave Cramer) transmitted: > Ever wanted to retract an email after you sent it ? I realized the > complete stupidity of that statement 30 seconds after I hit send Well, this is a common enough problem that there are occasions where people build server-based mechanisms for it... Oracle has something whose name I misremember where you head to a server to get the *real* server configuration. CORBA had this notion with the Naming Service; you start by getting a connection to a Naming Service object, and then ask where the *real* services are... How to do it "right" for JDBC is a good question. Searching for .pgpass in $HOME is pretty obvious. It is less obvious where to search for pg_service.conf if all that is installed is JDBC, and there is no PostgreSQL instance around. -- output = reverse("gro.mca" "@" "enworbbc") http://linuxdatabases.info/info/internet.html What do you mean "Why's it got to be built?" It is a bypass. You've got to build bypasses.