You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/concepts-extensions.md
+66Lines changed: 66 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,72 @@ Using the [Azure portal](https://portal.azure.com):
26
26
4. Select extensions you wish to allow-list.
27
27
:::image type="content" source="./media/concepts-extensions/allow-list.png" alt-text=" Screenshot showing Azure Database for PostgreSQL - allow-listing extensions for installation ":::
28
28
29
+
Using [Azure CLI](https://docs.microsoft.com/cli/azure/):
30
+
31
+
You can allow-list extensions via CLI parameter set [command](https://docs.microsoft.com/cli/azure/postgres/flexible-server/parameter?view=azure-cli-latest&preserve-view=true).
32
+
33
+
```bash
34
+
az postgres flexible-server parameter set --resource-group <your resource group> --server-name <your server name> --subscription <your subscription id> --name azure.extensions --value <extension name>,<extension name>
35
+
```
36
+
37
+
Using [ARM Template](https://docs.microsoft.com/azure/azure-resource-manager/templates/):
38
+
Example below allow-lists extensions dblink, dict_xsyn, pg_buffercache on server mypostgreserver
After extensions are allow-listed, these must be installed in your database before you can use them. To install a particular extension, you should run the [CREATE EXTENSION](https://www.postgresql.org/docs/current/sql-createextension.html) command. This command loads the packaged objects into your database.
0 commit comments