Answer the question
In order to leave comments, you need to log in
How to create a user in postgreSQL so that he does not see other databases, other users?
Good afternoon!
How to create a user in postgreSQL so that he does not see other databases, other users?
I do it in the standard way:
postgres=# CREATE DATABASE test_database;
CREATE DATABASE
postgres=# CREATE USER test_user WITH password 'qwerty';
CREATE ROLE
postgres=# GRANT ALL privileges ON DATABASE test_database TO test_user;
GRANT
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question