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
+32-4Lines changed: 32 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,29 @@ az postgres flexible-server parameter set --resource-group <your resource group>
93
93
94
94
```
95
95
96
-
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.
96
+
Shared_Preload_Libraries is a server configuration parameter determining which libraries are to be loaded when PostgreSQL starts. Any libraries which use shared memory must be loaded via this parameter. If your extension needs to be added to shared preload libraries this can be done:
97
+
98
+
Using the [Azure portal](https://portal.azure.com):
99
+
100
+
1. Select your Azure Database for PostgreSQL - Flexible Server.
101
+
2. On the sidebar, select **Server Parameters**.
102
+
3. Search for the `shared_preload_libraries` parameter.
103
+
4. Select extensions you wish to add.
104
+
:::image type="content" source="./media/concepts-extensions/shared-libraries.png" alt-text=" Screenshot showing Azure Database for PostgreSQL -setting shared preload libraries parameter setting for extensions installation .":::
105
+
106
+
107
+
Using [Azure CLI](https://docs.microsoft.com/cli/azure/):
108
+
109
+
You can set `shared_preload_libraries` via CLI parameter set [command](https://docs.microsoft.com/cli/azure/postgres/flexible-server/parameter?view=azure-cli-latest&preserve-view=true).
110
+
111
+
```bash
112
+
az postgres flexible-server parameter set --resource-group <your resource group> --server-name <your server name> --subscription <your subscription id> --name shared_preload_libraries --value <extension name>,<extension name>
113
+
```
114
+
115
+
116
+
After extensions are allow-listed and loaded, 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.
117
+
118
+
97
119
98
120
99
121
Azure Database for PostgreSQL supports a subset of key extensions as listed below. This information is also available by running `SHOW azure.extensions;`. Extensions not listed in this document are not supported on Azure Database for PostgreSQL - Flexible Server. You cannot create or load your own extension in Azure Database for PostgreSQL.
@@ -124,9 +146,10 @@ The following extensions are available in Azure Database for PostgreSQL - Flexib
124
146
> |[isn](https://www.postgresql.org/docs/13/isn.html)| 1.2 | data types for international product numbering standards|
125
147
> |[lo](https://www.postgresql.org/docs/13/lo.html)| 1.1 | large object maintenance |
126
148
> |[ltree](https://www.postgresql.org/docs/13/ltree.html)| 1.2 | data type for hierarchical tree-like structures|
149
+
> |[orafce](https://github.com/orafce/orafce)| 3.1.8 |implements in Postgres some of the functions from the Oracle database that are missing|
127
150
> |[pageinspect](https://www.postgresql.org/docs/13/pageinspect.html)| 1.8 | inspect the contents of database pages at a low level|
128
151
> |[pg_buffercache](https://www.postgresql.org/docs/13/pgbuffercache.html)| 1.3 | examine the shared buffer cache|
129
-
> |[pg_cron](https://github.com/citusdata/pg_cron)| 1.3| Job scheduler for PostgreSQL|
152
+
> |[pg_cron](https://github.com/citusdata/pg_cron)| 1.4| Job scheduler for PostgreSQL|
130
153
> |[pg_freespacemap](https://www.postgresql.org/docs/13/pgfreespacemap.html)| 1.2 | examine the free space map (FSM)|
131
154
> |[pg_partman](https://github.com/pgpartman/pg_partman)| 4.5.0 | Extension to manage partitioned tables by time or ID |
0 commit comments