64-bit Driver [2021] | Postgresql Odbc

// For ADO.NET / C# 64-bit string connString = "Driver=PostgreSQL Unicode(x64);" + "Server=127.0.0.1;Port=5432;" + "Database=postgres;Uid=postgres;Pwd=secret;" + "SSLmode=require;"; # PowerShell 64-bit $dsn = "DSN=PostgreSQL64_Prod;UID=reader;PWD=readonly" $conn = New-Object System.Data.Odbc.OdbcConnection($dsn)

| Component | Requirement | |-----------|-------------| | | Windows 7 / Server 2008 R2 or newer (64-bit); Linux (x86_64) | | PostgreSQL Version | 8.4 or higher (recommended 12+) | | Runtime | Visual C++ Redistributable (Windows) / libpq & OpenSSL (Linux) | | Disk Space | ~5 MB (driver only) | postgresql odbc 64-bit driver

| Option | Setting | Purpose | |--------|---------|---------| | | require or verify-full | Encrypts connection | | Bools as Char | 0 | Returns native boolean | | Row Versioning | 0 | Improves concurrency | | Use Declare/Fetch | 1 | Large result set handling | | Server side prepare | 1 | Reduces planning overhead | // For ADO

Connects to PostgreSQL version 8.4 and newer. " + "Server=127.0.0.1

Go to Top