Creating Databases in PostgreSQL
Prerequisites§
- Create database owner
- 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 database:
-
In the Object Explorer panel, expand Servers → <your PostgreSQL>.

-
Right click Databases, point to Create, then click Database…
The Create dialog appears.
-
-
Set up a new database:
-
In the window that appears, go to the General tab.

-
On the tab, in the Database field, enter the database name.
- From the Owner list, select the database owner username.
- Set up other parameters as required in your organization.
- In the window, click Save.
-
Postrequisites§
- To apply changes, reload PostgreSQL configuration.
- If unsure if reload is effective, restart the PostgreSQL