📅  最后修改于: 2022-03-11 14:59:40.197000             🧑  作者: Mango
template1=# CREATE USER username WITH PASSWORD 'user_password';
template1=# GRANT ALL PRIVILEGES ON DATABASE "user_database" to username;