postgresql server

important binaries are:

database management
createdb
createuser

postgres cli interface
psql

useful commands:

permissions to connect from outside

this must explicitly be allowed using a pg_hba.conf, which is located under /usr/local/pgsql/data/pg_hba.conf or /etc/postgresql/9.3/main/. This file can be edited like that:

configuration settings explained
max,