Postgres

Create User

Change user password

Create Database

Privileges

Change database owner

Copy a database

Dump

Restore

p.s.

in Ubuntu default username database PostGres is postgres, but in FreeBSD this is pgsql

Postgres commands