Everything is explained in the subject. When I upgraded to postgresql 9.6.2-r1, I noticed that it didn't listen to socket connection. So I am forced to use psql -h locahost -U postgres instead of psql -U postgres to connect. Downgrading to postgresql-9.6.2 solved the problem, and I didn't change any configuration file. Can somebody explains what's happening ? Thanks in advance. Reproducible: Always
(In reply to François Valenduc from comment #0) > Everything is explained in the subject. When I upgraded to postgresql > 9.6.2-r1, I noticed that it didn't listen to socket connection. So I am > forced to use psql -h locahost -U postgres instead of psql -U postgres to > connect. Downgrading to postgresql-9.6.2 solved the problem, and I didn't > change any configuration file. > > Can somebody explains what's happening ? > Thanks in advance. > > Reproducible: Always It is working for me on three different machines without any modifications. Just emerge and go. Verify that both /etc/conf.d/postgresql-9.6 and /etc/init.d/postgresql-9.6 are updated. You should see PG_SOCKET_DIRECTORIES="/run/postgresql" in the conf.d/postgresql-9.6.
It was indeed a problem with the update of the configuration file. Now it works correctly. Sorry for the noise.