title | description | author | ms.author | ms.reviewer | ms.date | ms.service | ms.subservice | ms.topic |
---|---|---|---|---|---|---|---|---|
Connection libraries |
This article describes several libraries and drivers that you can use when coding applications to connect and query Azure Database for PostgreSQL - Flexible Server. |
olmoloce |
olmoloce |
maghan |
05/17/2024 |
azure-database-postgresql |
flexible-server |
conceptual |
[!INCLUDE applies-to-postgresql-flexible-server]
This article lists libraries and drivers that developers can use to develop applications to connect to and query Azure Database for PostgreSQL flexible server.
Most language client libraries used to connect to Azure Database for PostgreSQL flexible server are external projects and are distributed independently. The libraries listed are supported on the Windows, Linux, and Mac platforms, for connecting to Azure Database for PostgreSQL flexible server. 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 non-blocking 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 |
Read these quickstarts on how to connect to and query Azure Database for PostgreSQL flexible server by using your language of choice: