Skip to content

Commit 7ead38d

Browse files
authored
Merge pull request #1295 from MicrosoftDocs/main
Publish to live, Sunday 4 AM PST, 1/26
2 parents 9963e52 + 7846cc0 commit 7ead38d

File tree

52 files changed

+691
-442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+691
-442
lines changed

articles/cosmos-db/how-to-always-encrypted.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ You can:
3636
- Create one DEK per property to encrypt, or
3737
- Use the same DEK to encrypt multiple properties.
3838

39+
> [!NOTE]
40+
> Resource limit for Client Encryption Key is 20
41+
3942
#### Customer-managed keys
4043

4144
Before DEKs get stored in Azure Cosmos DB, they are wrapped by a customer-managed key (CMK). By controlling the wrapping and unwrapping of DEKs, CMKs effectively control the access to the data that's encrypted with their corresponding DEKs. CMK storage is designed as an extensible, with a default implementation that expects them to be stored in Azure Key Vault.

articles/postgresql/.openpublishing.redirection.postgresql.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,6 +1984,21 @@
19841984
"source_path_from_root": "/articles/postgresql/flexible-server/how-to-scale-compute-storage-portal.md",
19851985
"redirect_url": "/azure/postgresql/flexible-server/how-to-scale-compute",
19861986
"redirect_document_id": false
1987+
},
1988+
{
1989+
"source_path_from_root": "/articles/postgresql/flexible-server/how-to-restore-to-different-subscription-or-resource-group.md",
1990+
"redirect_url": "/azure/postgresql/flexible-server/how-to-restore-server",
1991+
"redirect_document_id": false
1992+
},
1993+
{
1994+
"source_path_from_root": "/articles/postgresql/flexible-server/how-to-restore-different-subscription-resource-group-api.md",
1995+
"redirect_url": "/azure/postgresql/flexible-server/how-to-restore-server",
1996+
"redirect_document_id": false
1997+
},
1998+
{
1999+
"source_path_from_root": "/articles/postgresql/flexible-server/how-to-restore-server-cli.md",
2000+
"redirect_url": "/azure/postgresql/flexible-server/how-to-restore-server",
2001+
"redirect_document_id": false
19872002
}
19882003
]
19892004
}

articles/postgresql/TOC.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -433,12 +433,6 @@
433433
items:
434434
- name: Restore a dropped server
435435
href: flexible-server/how-to-restore-dropped-server.md
436-
- name: Cross subscription and cross resource group restore
437-
items:
438-
- name: Azure portal
439-
href: flexible-server/how-to-restore-to-different-subscription-or-resource-group.md
440-
- name: Azure REST API
441-
href: flexible-server/how-to-restore-different-subscription-resource-group-api.md
442436
- name: Relocate a server
443437
href: /azure/operational-excellence/relocation-postgresql-flexible-server?toc=/azure/postgresql/toc.json
444438
- name: Networking

articles/postgresql/extensions/concepts-extensions-by-engine.md

Lines changed: 47 additions & 12 deletions
Large diffs are not rendered by default.

articles/postgresql/extensions/how-to-allow-extensions.md

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Introduction to the PostgreSQL extensions in Azure Database for Pos
44
author: varun-dhawan
55
ms.author: varundhawan
66
ms.reviewer: maghan
7-
ms.date: 01/12/2025
7+
ms.date: 01/25/2025
88
ms.service: azure-database-postgresql
99
ms.subservice: flexible-server
1010
ms.topic: how-to
@@ -112,31 +112,69 @@ az postgres flexible-server restart --resource-group <resource_group> --name <se
112112

113113
## Create extensions
114114

115-
After an extension is allowlisted and, if the extension requires it, is also added to `shared_load_libraries`, it can be created or installed in each database on which it's to be used.
115+
1. [Allowlist](#allow-extensions) the extension.
116116

117-
1. To create an extension, a user must be a member of the `azure_pg_admin` role.
117+
1. If the extension requires it, also add it to `shared_load_libraries`.
118+
119+
1. The user that creates the extensions must be a member of the `azure_pg_admin` role.
118120

119121
1. Run the [CREATE EXTENSION](https://www.postgresql.org/docs/current/sql-createextension.html) command to create or install a particular extension. This command loads the packaged objects into your database.
120122

123+
```sql
124+
CREATE EXTENSION <extension>;
125+
```
126+
127+
1. Some extensions require other extensions to be created first, because they depend on objects distributed by those other extensions. It's the case, for example, of the `pg_diskann` extension, which has dependencies on the `vector` extension. To install such extensions, you can proceed in two ways:
128+
- [Allowlist](#allow-extensions) and run `CREATE EXTENSION` on the depending extension first. Then, allowlist and run `CREATE EXTENSION` on the dependent extension.
129+
130+
```sql
131+
CREATE EXTENSION <depending_extension>;
132+
CREATE EXTENSION <dependent_extension>;
133+
```
134+
135+
- [Allowlist](#allow-extensions) and run `CREATE EXTENSION` on the dependent extension only, but add the `CASCADE` clause, so that it automatically creates all extensions on which it depends.
136+
137+
```sql
138+
CREATE EXTENSION <dependent_extension> CASCADE;
139+
```
140+
121141
> [!NOTE]
122142
> Third-party extensions offered in Azure Database for PostgreSQL flexible server are open-source licensed code. We don't offer any third-party extensions or extension versions with premium or proprietary licensing models.
123143
124144
Azure Database for PostgreSQL flexible server instance supports a subset of key PostgreSQL extensions, as listed in [supported extensions by name](concepts-extensions-versions.md) or in [supported extensions by version of PostgreSQL](concepts-extensions-by-engine.md). This information is also available by running `SHOW azure.extensions;`. Extensions not included in those lists aren't supported on Azure Database for PostgreSQL flexible server. You can't create or load your own extensions in Azure Database for PostgreSQL flexible server.
125145
126146
## Drop extensions
127147
128-
To drop an extension, first make sure to [allowlist](#allow-extensions) it.
148+
1. [Allowlist](#allow-extensions) the extension.
129149
130-
1. To drop an extension, a user must be a member of the `azure_pg_admin` role.
150+
1. The user that drops the extensions must be a member of the `azure_pg_admin` role.
131151
132152
1. Run the [DROP EXTENSION](https://www.postgresql.org/docs/current/sql-dropextension.html) command to drop or uninstall a particular extension. This command drops the objects packaged in the extension from your database.
133153
154+
```sql
155+
DROP EXTENSION <extension>;
156+
```
157+
158+
1. Some extensions might distribute objects which are required by other extension. That's the case, for example, of the `vector` extension, in which the `pg_diskann` extension depends. To drop such extensions, you can proceed in two ways:
159+
- [Allowlist](#allow-extensions) and run `DROP EXTENSION` on all the extensions that depend on the one that you're trying to drop first. Then, allowlist and run `DROP EXTENSION` on the extension on which other extensions depended.
160+
161+
```sql
162+
DROP EXTENSION <dependent_extension>;
163+
DROP EXTENSION <depending_extension>;
164+
```
165+
166+
- [Allowlist](#allow-extensions) and run `DROP EXTENSION` on the extension that you want to drop, that other extensions depend on, but add the `CASCADE` clause, so that it automatically drops all extensions on which it depends.
167+
168+
```sql
169+
DROP EXTENSION <depending_extension> CASCADE;
170+
```
171+
134172
## Update extensions
135173

136174
To update an installed extension to the latest available version supported by Azure, use the following SQL command:
137175

138176
```sql
139-
ALTER EXTENSION <extension_name> UPDATE;
177+
ALTER EXTENSION <extension> UPDATE;
140178
```
141179

142180
This command simplifies the management of database extensions by allowing users to manually upgrade to the latest version approved by Azure, enhancing both compatibility and security.

articles/postgresql/extensions/includes/extensions-table.md

Lines changed: 72 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: akashraokm
33
ms.author: akashrao
44
ms.reviewer: maghan, randolphwest
5-
ms.date: 12/05/2024
5+
ms.date: 01/26/2025
66
ms.service: azure-database-postgresql
77
ms.subservice: flexible-server
88
ms.topic: include
@@ -282,6 +282,22 @@ ms.custom: automatically generated
282282

283283

284284

285+
## hll
286+
287+
[hll](https://github.com/citusdata/postgresql-hll) (Preview) introduces a new data type hll which is a HyperLogLog data structure.
288+
289+
| PostgreSQL version | Extension version |
290+
| --- | --- |
291+
| 17 | N/A |
292+
| 16 | 2.18 |
293+
| 15 | 2.18 |
294+
| 14 | 2.18 |
295+
| 13 | 2.18 |
296+
| 12 | 2.18 |
297+
| 11 | N/A |
298+
299+
300+
285301
## hstore
286302

287303
[hstore](https://www.postgresql.org/docs/current/hstore.html) is a data type for storing sets of (key, value) pairs.
@@ -304,7 +320,7 @@ ms.custom: automatically generated
304320

305321
| PostgreSQL version | Extension version |
306322
| --- | --- |
307-
| 17 | 1.4.0 |
323+
| 17 | 1.4.1 |
308324
| 16 | 1.4.0 |
309325
| 15 | 1.4.0 |
310326
| 14 | 1.4.0 |
@@ -527,6 +543,22 @@ ms.custom: automatically generated
527543

528544

529545

546+
## pg_diskann
547+
548+
[pg_diskann](../../flexible-server/how-to-use-pgdiskann.md) (Preview) is a scalable approximate nearest neighbor search algorithm for efficient vector search at any scale.
549+
550+
| PostgreSQL version | Extension version |
551+
| --- | --- |
552+
| 17 | N/A |
553+
| 16 | 0.4.0 |
554+
| 15 | 0.4.0 |
555+
| 14 | 0.4.0 |
556+
| 13 | N/A |
557+
| 12 | N/A |
558+
| 11 | N/A |
559+
560+
561+
530562
## pg_failover_slots
531563

532564
[pg_failover_slots](https://github.com/EnterpriseDB/pg_failover_slots) is a logical replication slot manager for failover purposes.
@@ -638,11 +670,11 @@ ms.custom: automatically generated
638670

639671
| PostgreSQL version | Extension version |
640672
| --- | --- |
641-
| 17 | 1.4.7 |
642-
| 16 | 1.4.7 |
643-
| 15 | 1.4.7 |
644-
| 14 | 1.4.7 |
645-
| 13 | 1.4.7 |
673+
| 17 | 1.5.1 |
674+
| 16 | 1.5.1 |
675+
| 15 | 1.5.1 |
676+
| 14 | 1.5.1 |
677+
| 13 | 1.5.1 |
646678
| 12 | 1.4.7 |
647679
| 11 | 1.4.7 |
648680

@@ -977,6 +1009,22 @@ ms.custom: automatically generated
9771009

9781010

9791011

1012+
## tdigest
1013+
1014+
[tdigest](https://github.com/tvondra/tdigest) (Preview) implements t-digest, a data structure for on-line accumulation of rank-based statistics such as quantiles and trimmed means.
1015+
1016+
| PostgreSQL version | Extension version |
1017+
| --- | --- |
1018+
| 17 | 1.4.2 |
1019+
| 16 | 1.4.2 |
1020+
| 15 | 1.4.2 |
1021+
| 14 | 1.4.2 |
1022+
| 13 | 1.4.2 |
1023+
| 12 | 1.4.2 |
1024+
| 11 | N/A |
1025+
1026+
1027+
9801028
## tds_fdw
9811029

9821030
[tds_fdw](https://github.com/tds-fdw/tds_fdw) is a foreign data wrapper for querying a TDS database (SAP ASE or SQL Server).
@@ -999,7 +1047,7 @@ ms.custom: automatically generated
9991047

10001048
| PostgreSQL version | Extension version |
10011049
| --- | --- |
1002-
| 17 | N/A |
1050+
| 17 | 2.17.2 <sup>*</sup> |
10031051
| 16 | 2.13.0 <sup>*</sup> |
10041052
| 15 | 2.10.0 <sup>*</sup> |
10051053
| 14 | 2.10.0 <sup>*</sup> |
@@ -1009,6 +1057,22 @@ ms.custom: automatically generated
10091057

10101058
<sup>*</sup> Enable corresponding libraries in the `shared_preload_libraries` server parameter.
10111059

1060+
## topn
1061+
1062+
[topn](https://github.com/citusdata/postgresql-topn) (Preview) returns the top values in a database according to some criteria.
1063+
1064+
| PostgreSQL version | Extension version |
1065+
| --- | --- |
1066+
| 17 | 2.7.0 |
1067+
| 16 | 2.7.0 |
1068+
| 15 | 2.7.0 |
1069+
| 14 | 2.7.0 |
1070+
| 13 | 2.7.0 |
1071+
| 12 | N/A |
1072+
| 11 | N/A |
1073+
1074+
1075+
10121076
## tsm_system_rows
10131077

10141078
[tsm_system_rows](https://www.postgresql.org/docs/13/tsm-system-rows.html) is a `TABLESAMPLE` method which accepts number of rows as a limit.

articles/postgresql/flexible-server/concepts-query-store.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ The following options are available for configuring Query Store parameters:
9898

9999
(*) Static server parameter which requires a server restart for a change in its value to take effect.
100100

101+
> [!NOTE]
102+
> If you change the value for `pg_qs.max_query_text_length` parameter, the text of all queries that were captured before you make the change continue to use the same query_id and sql_query_text. It might give the impression that the new value doesn't take effect but, for queries that weren't recorded in query store before, you will see that the query text uses the newly configured maximum length. This is by design, and is explained at [Views and functions](#views-and-functions). If you execute [query_store.qs_reset](#query_storeqs_reset), it removes all the information recorded by query store until now, including the text that was captured for each query id, and if any of those queries is executed again, the newly configured maximum length is applied to the text being captured.
101103
102104
The following options apply specifically to wait statistics:
103105

articles/postgresql/flexible-server/how-to-restore-different-subscription-resource-group-api.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)