Odbc For Postgresql -
Driver=PostgreSQL ODBC Driver(UNICODE);Server=localhost;Port=5432;Database=mydb;UID=postgres;PWD=secret;
If you do not want to configure a system-wide DSN, you can use a DSN-less connection string directly in your application code. A typical PostgreSQL ODBC connection string looks like this: odbc for postgresql