Creating and registering a PostgreSQL repository database

You use the Create Repository command to create and register a PostgreSQL repository database simultaneously.

To create and register a PostgreSQL repository database:

  1. Right-click Repository Registrations in the tree and select the Create Repository command. The dialog Create Repository opens.
  2. Specify this information:
    Name

    Specify the name of the new repository registration.

    Note: Registrations of the same name are not allowed in Repository Administration.
    Configuration
    Select the configuration source that will be used to save the repository registration from the drop-down list. You can select the configuration sources User, Computer, Enterprise, or Service.
    See Configurations.
    Description
    Specify the description of the repository registration.
    Note: 

    If the check box Use Computer configuration as default is selected in the Options dialog, new registrations are saved to the configuration source Computer.

    See Options.

  3. To create the database and to configure the database connection, click Edit. The dialog Create Repository Database opens.
  4. Select the database server type PostgreSQL Server from the Database type drop-down list. You can select one of these options:
    • Microsoft SQL Server
    • Oracle Database Server
    • PostgreSQL Server
    Note: The connection settings are different for a Microsoft SQL server, an Oracle database server, or a PostgreSQL server.
  5. On the Connection tab, specify this information:
    Select PostgreSQL server
    Specify the name of the server on which the PostgreSQL database will be located.
    Port
    Specify the port number of the PostgreSQL server. By defaut, the port number is 5432.
    Enter a system user
    A system user is required to create a new schema user or a new Repository database. By default, the check box is selected.
    Authentication
    Select the authentication method that you use for the system user to log in to theRepository database from the drop-down list. You can select Basic or Windows authentication.
    User name
    If Basic authentication is selected, specify the name of the system user that is used to log in to the Repository database. If Windows authentication is selected, you do not have to specify a user name and password. The log-in data of the current user is used.
    Password
    Specify the password of the system user.
  6. On the Schema tab, specify this information:
    Create new schema user
    Select this option, if you create a new schema user. Specify a user name and password. By default, this option is selected.
    Use existing schema user
    Select this option, if you use an existing user as schema user. If Basic authentication is selected, specify the user name and password. If Windows authentication is selected, you do not have to specify a user name and password. The log-in data of the current user is used.
    Use system user as schema user
    Select this check box, if you use the system user that you have specified on the Connection tab as schema user. You do not have to specify a user name and password.
    Authentication
    Select the authentication method that you use for the schema user from the drop-down list. You can select Basic or Windows authentication.
    User name
    If Basic authentication is selected, specify the name and password of the schema user. If Windows authentication is selected, you do not have to specify a user name and password. The log-in data of the current user is used.
    Password
    Specify the password of the new schema user.
    Confirm password
    Confirm the password that you specified.
    New database
    Specify the name of the new Repository database. By default, the option is selected.
    Existing database
    Select this option, if you create the schema in an existing database. Select the database from the drop-down list.
  7. On the Options tab, specify the connection settings for the PostgreSQL server as required. These settings are standard options for PostgreSQL databases. For detail information about the settings, see the manual of PostgreSQL Server.
  8. To check the specified settings, click Validate. If the test is successful, the message The connection test was successful. is displayed. Click OK to save the settings and to close the dialog.
  9. Specify the log-on information of the Repository administrator:
    User name
    By default, the user name of the Repository administrator is "Admin".
    Password
    Specify the password of the Repository administrator.
    Confirm password
    Confirm the password of the Repository administrator.
    Save password
    Select this check box to save the password of the Repository administrator.
  10. Click Create to start the creation of the new Repository database and registration. If successful, the message The Repository <Repository Name> has been created successfully. is displayed. Click OK. After the creation, the new Repository registration is displayed underneath the Repository Registrations node.