Postgres in a nutshell

Commands

psql -h localhost -U julian test
SELECT * from persons;

More on env vars

Configuring postgres