On 4/27/17 06:30, Devrim Gündüz wrote:
>> But /var/run/postgresql is 0755 postgres:postgres, so pgbouncer can't
>> write there. How is this supposed to work?
>
> No idea. Anyone else?
On Debian, there is no separate pgbouncer user and it runs as "postgres".
Alternatively, add pgbouncer to the postgres group and change the
permissions to 0775.
(Or just change them to 0777 and forget the rest.)
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services