Re: pgbouncer socket directory

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: pgbouncer socket directory
Date: 2017-04-27 10:30:43
Message-ID: 1493289043.3032.43.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2017-04-27 10:35:13 Re: pgadmin4 RPM broken?
Previous Message Devrim Gündüz 2017-04-27 10:25:09 Re: pgadmin4-v1 Fedora 25 repo conflict with recent updates