Edit online

How to Configure a PostgreSQL Connection

To configure a connection to a PostgreSQL server, follow these steps:

  1. Open the Preferences dialog box (Options > Preferences) and go to Data Sources.
  2. Click the New button in the Connections panel.

    The dialog box for configuring a database connection is displayed.

    Figure 1. Connection Configuration Dialog Box

  3. Enter a unique name for the connection.
  4. Select the PostgreSQL data source in the Data Source drop-down menu.
  5. Enter the connection details.
    1. Enter the URL of the PostgreSQL server.
    2. Enter the user name for the connection to the PostgreSQL server.
    3. Enter the password for the connection to the PostgreSQL server.
  6. Click the OK button to finish the connection configuration.
  7. To view your connection, go to the Data Source Explorer view (if the view is not displayed, it can be opened by selecting it from the Window > Show View menu) or switch to the Database perspective.