public inbox for [email protected]  
help / color / mirror / Atom feed
From: Devrim Gündüz <[email protected]>
To: Peter Eisentraut <[email protected]>
To: [email protected]
Subject: Re: pgbouncer socket directory
Date: Thu, 27 Apr 2017 13:30:43 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>


Hi Peter,

On Wed, 2017-04-26 at 08:47 -0400, Peter Eisentraut wrote:
> The postgresql packages are configured with a socket directory
> /var/run/postgresql, but pgbouncer is configured with /tmp. 

Hmm, I think I forgot to patch that part -- we create /var/run/pgbouncer, and
expect socket file there.

> Those  should probably be the same, so that clients can connect to either
> one.

I pass -h /tmp to psql to make this work. I see your point, though.

> But /var/run/postgresql is 0755 postgres:postgres, so pgbouncer can't
> write there.  How is this supposed to work?

No idea. Anyone else?

Regards,

-- 
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

view thread (5+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgbouncer socket directory
  In-Reply-To: <[email protected]>

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

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