Summary: | dev-db/postgresql-server: notice about the move of the postgres socket is easily missed. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Bridge <robert> |
Component: | [OLD] Unspecified | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | titanofold |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | A patch to the postgresql-server-8.4.4-r1 ebuild with a more explicit warning. |
Description
Robert Bridge
2010-06-12 15:04:34 UTC
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. |