Creating Database
Top  Previous  Next


If you have no database on local or remote server, you can create a new database right from the PostgreSQL Manager. To do this click button Create Database on the control panel or choose the menu item Database | Create Database.

General Options  

Set the name of the new database, and then set the following database host properties:

Host
The server, where your database will be situated (default 'localhost' means that the server is situated on your machine);

Port
The TCP/IP port for connecting to the server;

Login
The name, by which you are registered on server;

Password
Your password for connecting to the server.

You can also set the following database properties, which are not obligatory:

Location
An alternate file-system location in which to store the new database, specified as a string literal.

Template
Choose one of the existing databases on the host you have indicated as a template for the database you create.

Encoding
Multibyte encoding method to use in the new database.

Owner
(7.3 or higher)
Name of the database user who will own the new database. If no user defined than the connected user is used default.

Register After Creating
This option indicates, that the Register Database Dialog for the new database will appear right after creating the database (you need to register the database to start working with it in PostgreSQL Manager). If you want to register your database later, uncheck this option.

When you are done, click Next to continue.

On the last step of the wizard you can view the result SQL statement for creating the database. You can't edit it. To finish the wizard and start creating the database, click Create.

See also:
Registering Database
Connecting to the Database
Register Host Wizard
Database Explorer


Availability:
Windows Professional

Yes

Windows Lite

Yes

Linux Professional

Yes

Linux Lite

Yes