Reputation: 67
I am migrating this Oracle command to PostgreSQL:
GRANT CREATE SESSION TO user;
Please suggest to me how I can migrate the above command.
Upvotes: -1
Views: 1985
Reputation: 246483
There are three steps:
It has to be a login role
ALTER ROLE theuser LOGIN;
There has to be an entry in pg_hba.conf
that matches the incoming connection by that user.
The user has to have the CONNECT
privilege on the database.
Upvotes: 0