Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article lists libraries and drivers that developers can use to develop applications to connect to and query an Azure Database for PostgreSQL flexible server instance.
Client interfaces
Most language client libraries used to connect to Azure Database for PostgreSQL are external projects and are distributed independently. The libraries listed are supported on the Windows, Linux, and Mac platforms, for connecting to an Azure Database for PostgreSQL flexible server instance. Several quickstart examples are listed in the Next steps section.
| Language | Client interface | Additional information | Download |
|---|---|---|---|
| Python | psycopg | DB API 2.0-compliant | Download |
| PHP | php-pgsql | Database extension | Install |
| Node.js | Pg npm package | Pure JavaScript nonblocking client | Install |
| Java | JDBC | Type 4 JDBC driver | Download |
| Ruby | Pg gem | Ruby Interface | Download |
| Go | Package pq | Pure Go postgres driver | Install |
| C#/ .NET | Npgsql | ADO.NET Data Provider | Download |
| ODBC | psqlODBC | ODBC Driver | Download |
| C | libpq | Primary C language interface | Included |
| C++ | libpqxx | New-style C++ interface | Download |
Related content
- Quickstart: Use Python to connect and query data in Azure Database for PostgreSQL
- Quickstart: Use Java to connect and query data from an Azure Database for PostgreSQL
- Quickstart: Use .NET (C#) to connect and query data from an Azure Database for PostgreSQL
- Quickstart: Use Go language to connect and query data from an Azure Database for PostgreSQL
- Quickstart: Use PHP to connect and query data from an Azure Database for PostgreSQL
- Quickstart: Use Azure CLI to connect and query data from an Azure Database for PostgreSQL
- Quickstart: Import data from an Azure Database for PostgreSQL flexible server instance in Power BI