The ewarn relating to the move of the socket to /var/run/postgresql is easily missed. This can cause confusion for users using psql, if they miss the notice about the socket move.
Created attachment 235077 [details, diff]
A patch to the postgresql-server-8.4.4-r1 ebuild with a more explicit warning.
The attached patch should make it far more obvious that users need to be added to the postgres group prior to using psql.
The socket move warning probably doesn't even have to be there. (The socket has been moved for somewhere around two years now.)
'psql' doesn't need to be told by the user where to find the socket. Neither does any of the other client applications that I've used so far. The only thing that the user does need to tell the applications is when the port number deviates from the default.
The requirement for users to be in the 'postgres' group might be better mentioned in the pkg_config function. After the cluster has been created.
21 Mar 2011; Aaron W. Swenson <email@example.com>
Fixes bugs 274836, 302384, 323683, 325709, 347005, 347223, 353687 and