PostgreSQL データベースの作成
Darryl Reeves
Industry Assistant Professor, New York University

postgres は「スーパーユーザー」ロールpostgres の権限postgres ユーザーの使用は慎重にfinances データベースの作成


CREATE USERCREATE USER newuser;
newuser はデータベースでテーブルを作成可能CREATE USER newuser WITH PASSWORD 'secret';
ALTER USER newuser WITH PASSWORD 'new_password';
PostgreSQL データベースの作成