Creating Users in PostgreSQL
Prerequisites§
- Determine user credentials (name and password).
- Log on to the pgAdmin.
Process§
-
In the pgAdmin, connect to the database server:
-
In the Object Explorer, expand Servers. Then click the required server.

-
If password request appears, in the text field of that dialog, enter the password for the user which name appears in the title.
Select Save Password to avoid the dialog in the future. - Click OK.
-
-
Create a new account:
-
In the Object Explorer menu, expand Servers → your PostgreSQL.

-
Right click Login/Group Roles, then, in the action menu, point to Create, and then click Login/Group Role.
The Group Role dialog appears.
-
-
Set up the account:
-
In the window that appears, go to the General tab.

-
On the tab, in the Name field, enter the username.
-
-
Set up user password:
- Go to the Definition tab.
- On the tab, in the Password field, enter the password.
- Activate the account:
- Go to the Privileges tab.
- On the tab, select the Can login control.
- In the window, click Save.
Postrequisites§
- To apply changes, reload PostgreSQL configuration.
- If unsure if reload is effective, restart the PostgreSQL