A ground-up, modern C11 rewrite of the PostgreSQL ODBC driver, designed as a drop-in replacement for the original psqlodbc. It builds with Meson and runs on Linux, macOS, and Windows.
- Version: 0.1.0
- Language: C11
- Driver library:
libpsqlodbc2w.so/libpsqlodbc2w.dylib/psqlodbc2w.dll - ODBC driver name:
PostgreSQL ODBC Driver (psqlodbc2) - Compatibility: passes the upstream psqlodbc regression suite (parity target).
meson setup builddir # configure
meson compile -C builddir # build
meson test -C builddir # run testsThe driver is produced under builddir/src/. On macOS, prefix meson setup with
PKG_CONFIG_PATH=/opt/homebrew/opt/libpq/lib/pkgconfig. See the build guide for
platform details.
Once installed and registered, connect with a DSN-less connection string:
Driver={PostgreSQL ODBC Driver (psqlodbc2)};Server=localhost;Port=5432;Database=mydb;UID=postgres;PWD=secret
| Topic | Document |
|---|---|
| Install & register on Linux / macOS | docs/installation-unix.md |
| Install & register on Windows (MSI) | docs/installation-windows.md |
| Build from source (all platforms) | docs/building.md |
| Meson build options | docs/build-options.md |
| Connection-string keywords, DSN keys, connect attributes | docs/connection-options.md |
| Cutting a release (maintainers) | docs/releasing.md |
PostgreSQL License. See LICENSE.