Skip to content

Commit f3a9d28

Browse files
authored
Merge pull request #232002 from olmoloce/olmoloce3-azure-docs-pr
[PostgreSQL] added a new page on connection libraries to flexible
2 parents 098aa42 + b29e5bf commit f3a9d28

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

articles/postgresql/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,8 @@
544544
items:
545545
- name: Best practices
546546
href: flexible-server/application-best-practices.md
547+
- name: Connection libraries
548+
href: flexible-server/concepts-connection-libraries.md
547549
- name: Connection resilience
548550
href: flexible-server/concepts-connectivity.md
549551
- name: Azure Advisor recommendations
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Connection libraries - Azure Database for PostgreSQL - Flexible Server
3+
description: This article describes several libraries and drivers that you can use when coding applications to connect and query Azure Database for PostgreSQL - Flexible Server.
4+
ms.service: postgresql
5+
ms.subservice: flexible-server
6+
ms.topic: conceptual
7+
ms.author: olmoloce
8+
author: olmoloce
9+
ms.date: 03/24/2023
10+
---
11+
12+
# Connection libraries for Azure Database for PostgreSQL - Flexible Server
13+
14+
[!INCLUDE [applies-to-postgresql-flexible-server](../includes/applies-to-postgresql-flexible-server.md)]
15+
16+
This article lists libraries and drivers that developers can use to develop applications to connect to and query Azure Database for PostgreSQL.
17+
18+
## Client interfaces
19+
20+
Most language client libraries used to connect to PostgreSQL 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. Several quickstart examples are listed in the Next steps section.
21+
22+
| **Language** | **Client interface** | **Additional information** | **Download** |
23+
|--------------|----------------------------------------------------------------|-------------------------------------|--------------------------------------------------------------------|
24+
| Python | [psycopg](https://www.psycopg.org/) | DB API 2.0-compliant | [Download](https://sourceforge.net/projects/adodbapi/) |
25+
| PHP | [php-pgsql](https://secure.php.net/manual/en/book.pgsql.php) | Database extension | [Install](https://secure.php.net/manual/en/pgsql.installation.php) |
26+
| Node.js | [Pg npm package](https://www.npmjs.com/package/pg) | Pure JavaScript non-blocking client | [Install](https://www.npmjs.com/package/pg) |
27+
| Java | [JDBC](https://jdbc.postgresql.org/) | Type 4 JDBC driver | [Download](https://jdbc.postgresql.org/download/)  |
28+
| Ruby | [Pg gem](https://deveiate.org/code/pg/) | Ruby Interface | [Download](https://rubygems.org/downloads/pg-0.20.0.gem) |
29+
| Go | [Package pq](https://godoc.org/github.com/lib/pq) | Pure Go postgres driver | [Install](https://github.com/lib/pq/blob/master/README.md) |
30+
| C\#/ .NET | [Npgsql](https://www.npgsql.org/) | ADO.NET Data Provider | [Download](https://dotnet.microsoft.com/download) |
31+
| ODBC | [psqlODBC](https://odbc.postgresql.org/) | ODBC Driver | [Download](https://www.postgresql.org/ftp/odbc/versions/) |
32+
| C | [libpq](https://www.postgresql.org/docs/9.6/static/libpq.html) | Primary C language interface | Included |
33+
| C++ | [libpqxx](http://pqxx.org/) | New-style C++ interface | [Download](https://pqxx.org/libpqxx/) |
34+
35+
## Next steps
36+
37+
Read these quickstarts on how to connect to and query Azure Database for PostgreSQL by using your language of choice:
38+
39+
[Python](./connect-python.md) | [Java](./connect-java.md) | [Azure CLI](./connect-azure-cli.md) | [.NET (C#)](./connect-csharp.md)

0 commit comments

Comments
 (0)