X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3CC953A5CDF for ; Sun, 5 Dec 2004 23:29:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06443-03 for ; Sun, 5 Dec 2004 23:29:18 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 314013A5E22 for ; Sun, 5 Dec 2004 23:29:19 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id iB5NTCg2028196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 5 Dec 2004 16:29:15 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id iB5NTCsJ047346; Sun, 5 Dec 2004 16:29:12 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id iB5NTCav047345; Sun, 5 Dec 2004 16:29:12 -0700 (MST) (envelope-from mfuhr) Date: Sun, 5 Dec 2004 16:29:12 -0700 From: Michael Fuhr To: Andrew M Cc: pgsql-general@postgresql.org Subject: Re: SSL confirmation Message-ID: <20041205232912.GA47258@winnie.fuhr.org> References: <87k6rwiq2a.fsf@gate450.dyndns.org> <20041205182757.GA46671@winnie.fuhr.org> <20041205190233.GA31145@gp.word-to-the-wise.com> <20041205192733.GA4596@winnie.fuhr.org> <20041205194134.GA31951@winnie.fuhr.org> <48FFB86A-46F9-11D9-8BA6-0003938366A4@jibeya.com> <20041205203912.GA46867@winnie.fuhr.org> <43D42015-46FF-11D9-8BA6-0003938366A4@jibeya.com> <20041205210011.GB47040@winnie.fuhr.org> <1F679E49-4702-11D9-8BA6-0003938366A4@jibeya.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1F679E49-4702-11D9-8BA6-0003938366A4@jibeya.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/306 X-Sequence-Number: 69918 On Sun, Dec 05, 2004 at 09:10:42PM +0000, Andrew M wrote: > The map i make reference to is a Jboss map used to make a jndi > connection to postgreSQL. What document do I need to access to get hold > of the envireonment variables, namely PGSSLMODE? I don't know if the J-stuff wraps libpq or if it implements the communications protocol on its own. If it uses libpq then see the "libpq - C Library" chapter in the PostgreSQL documentation, in particular the "Database Connection Control Functions" and "Environment Variables" sections. http://www.postgresql.org/docs/ Even if you're using an interface that abstracts libpq and you're not calling its functions directly, it's useful to know how the underlying library works. -- Michael Fuhr http://www.fuhr.org/~mfuhr/