create database db_name;
create user db_user with encrypted password 'password';
grant all privileges on database db_name to db_user;
## lepsza wersja
create database test_wtm_page;
create user test_wtm_page with encrypted password '<tajne hasło>';
ALTER DATABASE test_wtm_page OWNER TO test_wtm_page;
grant all privileges on database test_wtm_page to test_wtm_page;