Skip to content

Commit ec46532

Browse files
Merge pull request #5070 from MicrosoftDocs/main
Auto Publish – main to live - 2026-05-22 06:00 UTC
2 parents a509160 + 8bba3bd commit ec46532

8 files changed

Lines changed: 187 additions & 169 deletions

File tree

articles/postgresql/configure-maintain/overview-postgres-choose-server-options.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
title: Choose hosting type
2+
title: Choose Hosting Type
33
description: Provides guidelines for choosing the right Azure Database for PostgreSQL flexible server instance hosting option.
44
author: varun-dhawan
55
ms.author: varundhawan
66
ms.reviewer: maghan
7-
ms.date: 04/27/2024
7+
ms.date: 05/05/2026
88
ms.service: azure-database-postgresql
99
ms.subservice: configuration
1010
ms.topic: overview
1111
ms.custom:
1212
- mvc
1313
---
1414

15-
# Choose the right Azure Database for PostgreSQL hosting option in Azure
15+
# Choose the right Azure Database for PostgreSQL hosting option in Azure
1616

1717
With Azure, your PostgreSQL workloads can run in a hosted virtual machine infrastructure as a service (IaaS) or as a hosted platform as a service (PaaS). PaaS has multiple deployment options, each with multiple service tiers. When you choose between IaaS and PaaS, you must decide if you want to manage your database, apply patches, and make backups, or if you want to delegate these operations to Azure.
1818

@@ -23,18 +23,18 @@ When making your decision, consider the following option in PaaS or alternativel
2323

2424
The main differences between these options are listed in the following table:
2525

26-
| **Attribute** | **Postgres on Azure VMs** | **Azure Database for PostgreSQL as PaaS** |
27-
|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
28-
| **Availability SLA** | - [Virtual Machine SLA](https://azure.microsoft.com/support/legal/sla/virtual-machines) | - [Azure Database for PostgreSQL](https://azure.microsoft.com/support/legal/sla/postgresql) |
29-
| **OS and PostgreSQL patching** | - Customer managed | Automatic with optional customer managed window |
30-
| **High availability** | - Customers architect, implement, test, and maintain high availability. Capabilities might include clustering, replication etc. | Built-in |
31-
| **Zone Redundancy** | - Azure VMs can be set up to run in different availability zones. For an on-premises solution, customers must create, manage, and maintain their own secondary data center. | Yes |
32-
| **Hybrid Scenario** | - Customer managed | Supported |
33-
| **Backup and Restore** | - Customer Managed | Built-in with user configuration on zone-redundant storage |
34-
| **Monitoring Database Operations** | - Customer Managed | All offer customers the ability to set alerts on the database operation and act upon reaching thresholds |
35-
| **Advanced Threat Protection** | - Customers must build this protection for themselves. | Not available during Preview |
36-
| **Disaster Recovery** | - Customer Managed | Supported |
37-
| **Intelligent Performance** | - Customer Managed | Supported |
26+
| **Attribute** | **Postgres on Azure VMs** | **Azure Database for PostgreSQL as PaaS** |
27+
| --- | --- | --- |
28+
| **Availability SLA** | - [Virtual Machine SLA](https://azure.microsoft.com/support/legal/sla/virtual-machines) | - [Azure Database for PostgreSQL](https://azure.microsoft.com/support/legal/sla/postgresql) |
29+
| **OS and PostgreSQL patching** | - Customer managed | Automatic with optional customer managed window |
30+
| **High availability** | - Customers architect, implement, test, and maintain high availability. Capabilities might include clustering, replication etc. | Built-in |
31+
| **Zone Redundancy** | - Azure VMs can be set up to run in different availability zones. For an on-premises solution, customers must create, manage, and maintain their own secondary data center. | Yes |
32+
| **Hybrid Scenario** | - Customer managed | Supported |
33+
| **Backup and Restore** | - Customer Managed | Built-in with user configuration on zone-redundant storage |
34+
| **Monitoring Database Operations** | - Customer Managed | All offer customers the ability to set alerts on the database operation and act upon reaching thresholds |
35+
| **Advanced Threat Protection** | - Customers must build this protection for themselves. | Not available during Preview |
36+
| **Disaster Recovery** | - Customer Managed | Supported |
37+
| **Intelligent Performance** | - Customer Managed | Supported |
3838

3939
## Total cost of ownership (TCO)
4040

@@ -44,7 +44,7 @@ TCO is often the primary consideration that determines the best solution for hos
4444

4545
Azure Database for PostgreSQL is currently available as a service in several tiers with different prices for resources. All resources are billed hourly at a fixed rate. For the latest information on the currently supported service tiers, compute sizes, and storage amounts, see [pricing page](https://azure.microsoft.com/pricing/details/postgresql/server/) You can dynamically adjust service tiers and compute sizes to match your application's varied throughput needs. You're billed for outgoing Internet traffic at regular [data transfer rates](https://azure.microsoft.com/pricing/details/data-transfers/).
4646

47-
With Azure Database for PostgreSQL, Microsoft automatically configures, patches, and upgrades the database software. These automated actions reduce your administration costs. Also, Azure Database for PostgreSQL has [automated backup-link]() capabilities. These capabilities help you achieve significant cost savings, especially when you have a large number of databases. In contrast, with PostgreSQL on Azure VMs you can choose and run any PostgreSQL version. However, you need to pay for the provisioned VM, storage cost associated with the data, backup, monitoring data and log storage and the costs for the specific PostgreSQL license type used (if any).
47+
With Azure Database for PostgreSQL, Microsoft automatically configures, patches, and upgrades the database software. These automated actions reduce your administration costs. Also, Azure Database for PostgreSQL has automated backup capabilities. These capabilities help you achieve significant cost savings, especially when you have a large number of databases. In contrast, with PostgreSQL on Azure VMs you can choose and run any PostgreSQL version. However, you need to pay for the provisioned VM, storage cost associated with the data, backup, monitoring data and log storage and the costs for the specific PostgreSQL license type used (if any).
4848

4949
Azure Database for PostgreSQL provides built-in high availability at the zonal-level (within an AZ) for any kind of node-level interruption while still maintaining the [SLA guarantee](https://azure.microsoft.com/support/legal/sla/postgresql/v1_2/) for the service. Azure Database for PostgreSQL provides [uptime SLAs](https://azure.microsoft.com/support/legal/sla/postgresql/v1_2/) with and without zone-redundant configuration. However, for database high availability within VMs, you use the high availability options like [Streaming Replication](https://www.postgresql.org/docs/current/warm-standby.html#STREAMING-REPLICATION) that are available on a PostgreSQL database. Using a supported high availability option doesn't provide another SLA. But it does let you achieve greater than 99.99% database availability at more cost and administrative overhead.
5050

@@ -55,7 +55,7 @@ For more information on pricing, see the following articles:
5555

5656
## Administration
5757

58-
For many businesses, the decision to transition to a cloud service is as much about offloading complexity of administration as it is about cost.
58+
For many businesses, the decision to transition to a cloud service is as much about offloading complexity of administration as it's about cost.
5959

6060
With IaaS, Microsoft:
6161

@@ -84,13 +84,13 @@ Additionally, configuring high availability to another data center requires mini
8484

8585
- With PostgreSQL on Azure VMs, you have full control over the operating system and the PostgreSQL server instance configuration. With a VM, you decide when to update or upgrade the operating system and database software and what patches to apply. You also decide when to install any other software such as an antivirus application. Some automated features are provided to greatly simplify patching, backup, and high availability. You can control the size of the VM, the number of disks, and their storage configurations. For more information, see [Virtual machine and cloud service sizes for Azure](/azure/virtual-machines/sizes).
8686

87-
## Time to move to Azure Database for PostgreSQL (PaaS)
87+
## Time to move to Azure Database for PostgreSQL (PaaS)
8888

8989
- Azure Database for PostgreSQL is the right solution for cloud-designed applications when developer productivity and fast time to market for new solutions are critical. With programmatic functionality that is like DBA, the service is suitable for cloud architects and developers because it lowers the need for managing the underlying operating system and database.
9090

9191
- When you want to avoid the time and expense of acquiring new on-premises hardware, PostgreSQL on Azure VMs is the right solution for applications that require a granular control and customization of PostgreSQL engine not supported by the service or requiring access of the underlying OS.
9292

9393
## Related content
9494

95-
- [Azure Database for PostgreSQL pricing](https://azure.microsoft.com/pricing/details/postgresql/server/).
96-
- [Create an Azure Database for PostgreSQL](quickstart-create-server.md).
95+
- [Azure Database for PostgreSQL pricing](https://azure.microsoft.com/pricing/details/postgresql/server/)
96+
- [Quickstart: Create an Azure Database for PostgreSQL flexible server](quickstart-create-server.md)

articles/postgresql/developer/vs-code-extension/vs-code-github-copilot.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: "Quickstart: Guide for GitHub Copilot Feature for Visual Studio Code PostgreSQL Extension"
3-
description: Learn how to use the GitHub Copilot integration in the PostgreSQL extension for Visual Studio Code.
2+
title: "Quickstart: Guide for GitHub Copilot Feature for Visual Studio Code PostgreSQL Extension in Azure HorizonDB"
3+
description: Learn how to use the GitHub Copilot integration in the PostgreSQL extension for Visual Studio Code in Azure HorizonDB.
44
author: swarathmika
55
ms.author: skakivaya
66
ms.reviewer: maghan
7-
ms.date: 01/09/2026
7+
ms.date: 05/05/2026
88
ms.service: azure-database-postgresql
99
ms.topic: quickstart
1010
ms.collection:
@@ -17,7 +17,7 @@ ms.custom:
1717
ai-usage: ai-assisted
1818
---
1919

20-
# Quickstart: Configure GitHub Copilot for PostgreSQL extension in Visual Studio Code
20+
# Quickstart: Configure GitHub Copilot for PostgreSQL extension in Visual Studio Code in Azure HorizonDB
2121

2222
The PostgreSQL extension for Visual Studio Code now includes GitHub Copilot integration, enhancing your database workflows with AI-assisted development. Copilot accesses contextual information from your live connection, once connected to a PostgreSQL database. This access enables the `@pgsql` Copilot chat participant to generate accurate, schema-aware SQL queries and insights, streamlining development and minimizing context-switching within Visual Studio Code.
2323

@@ -46,7 +46,7 @@ These tools and resources help you follow along with this article and make the m
4646

4747
1. Make sure you have a GitHub account and an active GitHub Copilot subscription:
4848

49-
- [Create GitHub account](https://www.github.com)
49+
- [Create GitHub account](https://github.com)
5050
- [Enable GitHub Copilot Subscription](https://github.com/settings/copilot)
5151

5252
1. In Visual Studio Code, select the **Account** icon and choose **Sign in with GitHub to use GitHub Copilot**.
@@ -71,7 +71,9 @@ Try a prompt like:
7171

7272
1. Copilot responds with a detailed description of your schema's tables.
7373

74-
## Using read and write capabilities
74+
<a id="using-read-and-write-capabilities"></a>
75+
76+
## Use read and write capabilities
7577

7678
The GitHub Copilot integration for the PostgreSQL extension in Visual Studio Code enables seamless read and write capabilities. With this integration, you can interact with your databases more efficiently. By using AI-powered suggestions, you can perform tasks such as querying data, modifying schemas, and updating records directly from the editor. This feature simplifies complex operations, reduces manual effort, and enhances productivity while maintaining accuracy and context-awareness.
7779

@@ -98,7 +100,9 @@ Then Copilot asks for confirmation:
98100
@pgsql Yes, I confirm
99101
```
100102

101-
## Using context menu options
103+
<a id="using-context-menu-options"></a>
104+
105+
## Use context menu options
102106

103107
- You can select SQL code in the editor and right-click to access GitHub Copilot context menu options like **Explain Query**, **Rewrite Query**, or **Analyze Query Performance**.
104108

@@ -162,6 +166,6 @@ For bugs, feature requests, and issues, use the built-in feedback tool in Visual
162166

163167
## Related content
164168

165-
- [What is the PostgreSQL extension for Visual Studio Code?](vs-code-overview.md)
169+
- [What is the PostgreSQL extension for Visual Studio Code in Azure HorizonDB?](vs-code-overview.md)
166170
- [Quickstart: Connect and query a database with the PostgreSQL extension for Visual Studio Code](vs-code-connect.md)
167171
- [PostgreSQL extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-pgsql)

articles/postgresql/developer/vs-code-extension/vs-code-overview.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: What Is the PostgreSQL Extension for Visual Studio Code?
3-
description: Overview of the PostgreSQL extension for Visual Studio Code.
2+
title: What Is the PostgreSQL Extension for Visual Studio Code in Azure HorizonDB?
3+
description: Overview of the PostgreSQL extension for Visual Studio Code in Azure HorizonDB.
44
author: swarathmika
55
ms.author: skakivaya
66
ms.reviewer: maghan
7-
ms.date: 01/09/2026
7+
ms.date: 05/05/2026
88
ms.service: azure-database-postgresql
99
ms.subservice: extensions
1010
ms.topic: overview
@@ -14,7 +14,7 @@ ai-usage: ai-assisted
1414
# customer intent: As a user, I want to understand what the PostgreSQL extension for VS Code is and how I can use it with an Azure Database for PostgreSQL flexible server instance.
1515
---
1616

17-
# What is the PostgreSQL extension for Visual Studio Code?
17+
# What is the PostgreSQL extension for Visual Studio Code in Azure HorizonDB?
1818

1919
The PostgreSQL extension for Visual Studio Code is a feature-rich tool designed to simplify PostgreSQL database management and development. This extension empowers developers to connect to PostgreSQL databases, write and execute queries, and manage database objects without leaving the Visual Studio Code environment. This extension revolutionizes the PostgreSQL development workflow by introducing comprehensive functionality, intuitive UI design, and seamless integration with cloud platforms such as Azure Database for PostgreSQL.
2020

@@ -66,17 +66,19 @@ The Results Viewer enables you to interact with query results through features s
6666

6767
### Apache AGE Graph Visualization
6868

69-
The Apache AGE Graph Visualizer lets you run Apache AGE Cypher queries and explore the results as an interactive node-edge graph. The extension automatically detects graph query results and renders them in a visual explorer with per-node callouts, zoom and pan controls, export support, and theme-aware styling.
69+
The Apache AGE Graph Visualizer lets you run Apache AGE Cipher queries and explore the results as an interactive node-edge graph. The extension automatically detects graph query results and renders them in a visual explorer with per-node callouts, zoom and pan controls, export support, and theme-aware styling.
7070

7171
To render results in the graph visualizer, your queries must meet the following requirements:
7272
- **Return full objects, not scalar properties** - The graph visualizer needs complete vertex and edge objects. Queries that extract scalar properties (`RETURN p.name, p.title`) return plain text values and won't render in the visualizer. Instead of returning properties, return the full objects and name the relationship variable:
73+
7374
```sql
7475
SELECT * FROM cypher('my_graph', $$
7576
MATCH (a:Product)-[r:BOUGHT_TOGETHER]->(b:Product)
7677
RETURN a, r, b
7778
$$) AS (a agtype, r agtype, b agtype);
7879
```
7980
- **Set `disp_label` for meaningful node text** - Without `disp_label`, nodes display internal IDs. Set this property so the visualizer shows useful labels:
81+
8082
```sql
8183
SELECT * FROM cypher('my_graph', $$
8284
MATCH (a:Product)-[r:BOUGHT_TOGETHER]->(b:Product)
@@ -86,6 +88,7 @@ To render results in the graph visualizer, your queries must meet the following
8688
$$) AS (a agtype, r agtype, b agtype);
8789
```
8890
- **Match output columns to returned objects** - The wrapper `AS (...)` clause must have one column per returned object. For multi-hop queries, include every intermediate node and edge:
91+
8992
```sql
9093
SELECT * FROM cypher('my_graph', $$
9194
MATCH (a:Product)-[r1:BOUGHT_TOGETHER]->(mid:Product)-[r2:BOUGHT_TOGETHER]->(b:Product)
@@ -120,5 +123,5 @@ For bugs, feature requests, and issues, use the built-in feedback tool in Visual
120123
## Related content
121124

122125
- [Quickstart: Connect and query a database with the PostgreSQL extension for Visual Studio Code](vs-code-connect.md)
123-
- [Quickstart: Configure GitHub Copilot for PostgreSQL extension in Visual Studio Code](vs-code-github-copilot.md)
126+
- [Quickstart: Configure GitHub Copilot for PostgreSQL extension in Visual Studio Code in Azure HorizonDB](vs-code-github-copilot.md)
124127
- [PostgreSQL extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-pgsql)

0 commit comments

Comments
 (0)