Skip to content

Commit 4343d18

Browse files
committed
Updating the extensions doc
1 parent 5bfc6f4 commit 4343d18

File tree

1 file changed

+74
-4
lines changed

1 file changed

+74
-4
lines changed

articles/azure-arc/data/using-extensions-in-postgresql-server.md

Lines changed: 74 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,79 @@ ms.topic: how-to
1414

1515
# Use PostgreSQL extensions in your Azure Arc-enabled PostgreSQL server
1616

17-
Extensions are not currently supported in this preview.
17+
PostgreSQL is at its best when you use it with extensions.
18+
19+
[!INCLUDE [azure-arc-data-preview](../../../includes/azure-arc-data-preview.md)]
20+
21+
## Supported extensions
22+
For this preview, the following standard [`contrib`](https://www.postgresql.org/docs/14/contrib.html) extensions are already deployed in the containers of your Azure Arc-enabled PostgreSQL server:
23+
- adminpack
24+
- amcheck
25+
- autoinc
26+
- bloombtree_gin
27+
- btree_gist
28+
- citext
29+
- cube
30+
- dblink
31+
- dict_int
32+
- dict_xsyn
33+
- earthdistance
34+
- file_fdw
35+
- fuzzystrmatch
36+
- hstore
37+
- insert_username
38+
- intagg
39+
- intarray
40+
- isn
41+
- lo
42+
- ltree
43+
- moddatetime
44+
- old_snapshot
45+
- pageinspect
46+
- pg_buffercache
47+
- pg_freespacemap
48+
- pg_prewarm
49+
- pg_stat_statements
50+
- pg_surgery
51+
- pg_trgm
52+
- pg_visibility
53+
- pgcrypto
54+
- pgrowlocks
55+
- pgstattuple
56+
- postgres_fdw
57+
- refint
58+
- seg
59+
- sslinfo
60+
- tablefunc
61+
- tcn
62+
- tsm_system_rows
63+
- tsm_system_time
64+
- unaccent
65+
- xml2
66+
67+
Updates to this list will be posted as it evolves over time.
68+
69+
> [!IMPORTANT]
70+
> While you may bring to your server an extension other than those listed above, in this Preview, it will not be persisted to your system. It means that it will not be available after a restart of the system and you would need to bring it again.
71+
72+
73+
## Create extensions
74+
Connect to your server with the client tool of your choice and run the standard PostgreSQL query:
75+
```console
76+
CREATE EXTENSION <extension name>;
77+
```
78+
79+
## Show the list of extensions created
80+
Connect to your server with the client tool of your choice and run the standard PostgreSQL query:
81+
```console
82+
select * from pg_extension;
83+
```
84+
85+
## Drop an extension
86+
Connect to your server with the client tool of your choice and run the standard PostgreSQL query:
87+
```console
88+
drop extension <extension name>;
89+
```
1890

1991
## Next steps
20-
- Read documentation on [`plv8`](https://plv8.github.io/)
21-
- Read documentation on [`PostGIS`](https://postgis.net/)
22-
- Read documentation on [`pg_cron`](https://github.com/citusdata/pg_cron)
92+
- **Try it out.** Get started quickly with [Azure Arc Jumpstart](https://github.com/microsoft/azure_arc#azure-arc-enabled-data-services) on Azure Kubernetes Service (AKS), AWS Elastic Kubernetes Service (EKS), Google Cloud Kubernetes Engine (GKE) or in an Azure VM.

0 commit comments

Comments
 (0)