User ID=root;Password=yourPassword;Host=localhost;Port=5432;Database=yourDataBase; Pooling=true;Min Pool Size=0;Max Pool Size=100;Connection Lifetime=0;
.NET Framework Data Provider for OLE DB
This is a .NET Class Library from Microsoft. The namespace for this library is System.Data.OleDb.OleDbConnection
Standard Security:
Provider=PostgreSQL OLE DB Provider;Data Source=yourServerAddress;location=yourDataBase;User ID=yourUsername;password=yourPassword;timeout=1000;
You can view more OLE DB connection strings for other data provider from other pages.
Npgsql
This is a .NET Class Library from pgFoundry. The namespace for this library is Npgsql.NpgsqlConnection
Note: sslmode=require is case sensitive, make sure they are all in lower case letters, otherwise you may gets an error.
PostgreSQL OLE DB Provider
This is a OLE DB Provider from pgFoundry. The usage for this library is Provider=PostgreSQL OLE DB Provider.
Make sure you are using PQLib of version 7.4 or later version for this connection string, the back end also requires 7.4 or later version. Only version 8.0 and later support guarantee timestamp.
Standard Security:
Provider=PostgreSQL OLE DB Provider;Data Source=yourServerAddress;location=yourDataBase;User ID=yourUsername;password=yourPassword;timeout=1000;
Note: You can use other provider values such as "PostgreSQL" and "PostgreSQL.1".