Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 0054CB5DBC6 for ; Mon, 22 Aug 2011 04:11:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 52129-08 for ; Mon, 22 Aug 2011 07:11:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id 5DD68B5D803 for ; Mon, 22 Aug 2011 04:11:50 -0300 (ADT) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id p7M7BiV24523 for ; Mon, 22 Aug 2011 00:11:44 -0700 Message-ID: <4E520130.1080003@hogranch.com> Date: Mon, 22 Aug 2011 00:11:44 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #6171: Sockets Issue References: <201108201531.p7KFVFaw062983@wwwmaster.postgresql.org> In-Reply-To: <201108201531.p7KFVFaw062983@wwwmaster.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.846 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.946 X-Spam-Level: X-Archive-Number: 201108/130 X-Sequence-Number: 30942 On 08/20/11 8:31 AM, Robert Hopek wrote: > The following bug has been logged online: > > Bug reference: 6171 > Logged by: Robert Hopek > Email address: rhopek@getnetworks.com > PostgreSQL version: 8.1.23 > Operating system: CentOS/RHEL > Description: Sockets Issue > Details: > > Why do you have the configuration option to change the pgsql socket (which > we need to do for our jailed shell environment), but not have psql check the > postgresql.conf file for the enablement of that location change so that psql > would look there automatically? It seems very counter-productive. While > psql, as well as functions in languages like PHP (pg_connect) allow for an > override so that you could point it at the new location (when custom > coding), existing software, such as phpPgAdmin, are stuck only looking in > /tmp for it. We consider it a bug that the server supports a configuration > option the clients do not inherently support by checking the configuration > of the server. > libpq running in the client user's context usually has no access to the postgresql.conf file which is generally in a mode 700 directory owned by the service account. -- john r pierce N 37, W 122 santa cruz ca mid-left coast