feat: adjust doc/postgres-create-db.md

This commit is contained in:
dancingCycle 2023-11-16 10:35:00 +01:00
parent 54415cfb26
commit 36090c4370
1 changed files with 1 additions and 3 deletions

View File

@ -2,8 +2,6 @@
* create a new database `database name` and grant privileges to `user name`
```
sudo -u postgres psql
CREATE DATABASE <database name>;
GRANT ALL PRIVILEGES ON DATABASE <database name> to <user name>;
\q
GRANT ALL PRIVILEGES ON DATABASE <database name> TO <user name>;
```