The PostgreSQL provider is available to download from the Simego GitHub site and is compatible from version 3.0.2150 of Data Sync.
To connect to PostgreSql you need to start by installing the PostgreSql connector from the Simego GitHub page. We have built a connector installer inside Data Sync that will download and install the relevant files from the Simego GitHub page.
To get to the installer go to File > Install Data Connector. This will open the Connector Installer Window, where all you need to do is select the connector you want to install from the drop down and click OK.
If you get an error saying it could not install the connector because it is "Unable to access folder", then this is because the folder is locked by Ouvvi. Please stop your Ouvvi services and try again.
If it was successful you should get a confirmation popup and you now need to close all instances of Data Sync and then re-start the program.
You can then access your Postgres connector under SQL Database > PostgreSql. The numbers contained in the brackets are the driver version the connector is targeting. If you are after targeting a newer driver please contact us via firstname.lastname@example.org.
Once the connector is installed you can connect to your PostgreSql database by opening the connection window and going to SQL Database > PostgreSql.
You can then either enter in your connection string into the text box or you can build it out using the connection properties above.
An example of the connection string you might use is:
For our connection we use the connection string:
For more ideas on generating your connection string we recommend visiting ConnectionStrings.com.
You can then click Connect & Create Library Connection to save this to the connection library so that you can use it again in other projects.
This will first open a new window where you need to expand the tree to select a table to connect to, click OK once you have selected the table.
Then enter in a name for your connection and an optional description. Once it has been saved, you can refresh the connection library and under Databases you will now be able to see your PostgreSql database connection and expand it to select a table to connect to.
For more details on how to connect please take a look at the ADO.net connector pages as this is what the connector is based upon.