PostgreSQL on Gentoo

= Install =

1. Standard emerge: emerge postgresql

2. Ebuild configuration: ebuild /var/db/pkg/dev-db/postgresql.*.*.*/postgresql.*.*.*ebuild config

[Be sure to change *.*.* to whatever version you just emerged]

3. Start PostgreSQL: /etc/init.d/postgresql start

The sample configuration files are in /usr/share/postgresql.

Running the ebuild blabla configuration created the data directory

/var/lib/postgresql/data

and the relevant configuration files are in there.

= See also =
 * Distribution specific tips and tricks
 * Gentoo
 * PostgreSQL