pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6171: Sockets Issue
Date: Mon, 22 Aug 2011 00:11:44 -0700
Message-ID: <4E520130.1080003@hogranch.com> (raw)
In-Reply-To: <201108201531.p7KFVFaw062983@wwwmaster.postgresql.org>
References: <201108201531.p7KFVFaw062983@wwwmaster.postgresql.org>

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




view thread (5+ messages)  latest in thread

Message-ID: <4E520130.1080003@hogranch.com>
Permalink:  ../4E520130.1080003@hogranch.com/
Also on:    postgresql.org/message-id/4E520130.1080003@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: BUG #6171: Sockets Issue
  In-Reply-To: <4E520130.1080003@hogranch.com>
  References: <201108201531.p7KFVFaw062983@wwwmaster.postgresql.org> <4E520130.1080003@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox