Wyn Enterprise User Guide

Wyn Enterprise: Postgres Data Provider

To create a Postgres data source in Wyn Enterprise, follow these steps.

  1. On the Resource Portal, navigate to Create (+) > Create Data Source.

  2. Select Postgres in the data source list on the left or in the icon view on the right.

  3. Fill in the database configuration information for the selected data source.

Field Description
Name The name for the data source that you want to specify.
Host A CPU name.
Port A port number, the default is 5432.
User A user name to connect to the Postgres database.
Password A password of the Postgres user.
Database Enter the server Postgres instance name or click the drop-down arrow to select the instance.
Use Configuration String (Advanced) If you check this option, you only need to fill in this item and the name of the data source. The format of the connection string is:
USER ID=myUserId; Password=myPassword; Host=myPostgresDBHost; Port=mySeverPort; Database=myDataBase;
In addition, you can use the user context attribute in the string to filter data, in the format "@{User context name}" such as "@{DBName}". See User Context for details.
  1. Verify the Postgres connection by clicking Test Connection. If the data source is available, and the credentials are correct, you receive a notification on successful connection.

  2. Click Create after the connection is successful.

After the successful creation, you can view the added data source in the Categories tab of the Resource Portal.