From 671d011d88a07a2354bf82bf299ce52b23f63c3b Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Wed, 21 Feb 2024 15:42:08 +0100 Subject: [PATCH] feat: adjust doc/postgres-create-user.md --- doc/postgres-create-user.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/postgres-create-user.md b/doc/postgres-create-user.md index 6dc47c2..6b8a81b 100644 --- a/doc/postgres-create-user.md +++ b/doc/postgres-create-user.md @@ -5,6 +5,11 @@ CREATE USER with encrypted password 'key'; ``` +* create a `SUPERUSER` user called `user name` with password `key` +``` +CREATE USER SUPERUSER with encrypted password 'key'; +``` + * OPTION: gant user `user name` access to database `database name` ``` GRANT ALL PRIVILEGES ON DATABASE TO ;