Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
A few things aren't quite right in PostgreSQL setup: * initdb defaults to using SQL_ASCII encoding. This is almost never right, and UTF8 is a safe default. * The postgres users's home directory is /var/lib and not /var/lib/postgresql * The postgres user's environment does not contain $PGDATA
Move your ASCII vs. unicode vs. whatever issues to Bug 49864 please...
When postgres homedir is /var/lib, then it isn't writable for postgres user.
The $PGDATA issue is in bug #110912 (not sure what to do about it). The postgres user's home dir is now /var/lib/postgresql and "emerge --config" reads an env var to set the default encoding.