I am migrating this Oracle command to PostgreSQL:
GRANT CREATE SESSION TO user;
Please suggest to me how I can migrate the above command.
I am migrating this Oracle command to PostgreSQL:
GRANT CREATE SESSION TO user;
Please suggest to me how I can migrate the above command.
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.