# su - postgres

$ psql

DBを作成可能なロールを作成

postgres=$ CREATE ROLE username with CREATEDB PASSWORD 'password';

ロールの削除

postgres=$ DROP ROLE username;