Skip to content

Commit d6604d0

Browse files
Merge pull request #190829 from GennadNY/gennadyk986
Gennadyk986
2 parents 311b1a1 + 83c7239 commit d6604d0

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

articles/postgresql/flexible-server/concepts-extensions.md

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,29 @@ az postgres flexible-server parameter set --resource-group <your resource group>
9393

9494
```
9595

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+
97119

98120

99121
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
124146
> |[isn](https://www.postgresql.org/docs/13/isn.html) | 1.2 | data types for international product numbering standards|
125147
> |[lo](https://www.postgresql.org/docs/13/lo.html) | 1.1 | large object maintenance |
126148
> |[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|
127150
> |[pageinspect](https://www.postgresql.org/docs/13/pageinspect.html) | 1.8 | inspect the contents of database pages at a low level|
128151
> |[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|
130153
> |[pg_freespacemap](https://www.postgresql.org/docs/13/pgfreespacemap.html) | 1.2 | examine the free space map (FSM)|
131154
> |[pg_partman](https://github.com/pgpartman/pg_partman) | 4.5.0 | Extension to manage partitioned tables by time or ID |
132155
> |[pg_prewarm](https://www.postgresql.org/docs/13/pgprewarm.html) | 1.2 | prewarm relation data|
@@ -146,6 +169,7 @@ The following extensions are available in Azure Database for PostgreSQL - Flexib
146169
> |[postgis_topology](https://postgis.net/docs/Topology.html) | 3.1.1 | PostGIS topology spatial types and functions|
147170
> |[postgres_fdw](https://www.postgresql.org/docs/13/postgres-fdw.html) | 1.0 | foreign-data wrapper for remote PostgreSQL servers|
148171
> |[sslinfo](https://www.postgresql.org/docs/13/sslinfo.html) | 1.2 | information about SSL certificates|
172+
> |[timescaledb](https://github.com/timescale/timescaledb) | 2.5.1 | Open-source relational database for time-series and analytics|
149173
> |[tsm_system_rows](https://www.postgresql.org/docs/13/tsm-system-rows.html) | 1.0 | TABLESAMPLE method which accepts number of rows as a limit|
150174
> |[tsm_system_time](https://www.postgresql.org/docs/13/tsm-system-time.html) | 1.0 | TABLESAMPLE method which accepts time in milliseconds as a limit|
151175
> |[unaccent](https://www.postgresql.org/docs/13/unaccent.html) | 1.1 | text search dictionary that removes accents|
@@ -178,9 +202,10 @@ The following extensions are available in Azure Database for PostgreSQL - Flexib
178202
> |[isn](https://www.postgresql.org/docs/12/isn.html) | 1.2 | data types for international product numbering standards|
179203
> |[lo](https://www.postgresql.org/docs/12/lo.html) | 1.1 | large object maintenance |
180204
> |[ltree](https://www.postgresql.org/docs/12/ltree.html) | 1.1 | data type for hierarchical tree-like structures|
205+
> |[orafce](https://github.com/orafce/orafce) | 3.1.8 |implements in Postgres some of the functions from the Oracle database that are missing|
181206
> |[pageinspect](https://www.postgresql.org/docs/12/pageinspect.html) | 1.7 | inspect the contents of database pages at a low level|
182207
> |[pg_buffercache](https://www.postgresql.org/docs/12/pgbuffercache.html) | 1.3 | examine the shared buffer cache|
183-
> |[pg_cron](https://github.com/citusdata/pg_cron) | 1.3 | Job scheduler for PostgreSQL|
208+
> |[pg_cron](https://github.com/citusdata/pg_cron) | 1.4 | Job scheduler for PostgreSQL|
184209
> |[pg_freespacemap](https://www.postgresql.org/docs/12/pgfreespacemap.html) | 1.2 | examine the free space map (FSM)|
185210
> |[pg_partman](https://github.com/pgpartman/pg_partman) | 4.5.0 | Extension to manage partitioned tables by time or ID |
186211
> |[pg_prewarm](https://www.postgresql.org/docs/12/pgprewarm.html) | 1.2 | prewarm relation data|
@@ -200,6 +225,7 @@ The following extensions are available in Azure Database for PostgreSQL - Flexib
200225
> |[postgis_topology](https://postgis.net/docs/Topology.html) | 3.0.0 | PostGIS topology spatial types and functions|
201226
> |[postgres_fdw](https://www.postgresql.org/docs/12/postgres-fdw.html) | 1.0 | foreign-data wrapper for remote PostgreSQL servers|
202227
> |[sslinfo](https://www.postgresql.org/docs/12/sslinfo.html) | 1.2 | information about SSL certificates|
228+
> |[timescaledb](https://github.com/timescale/timescaledb) | 2.5.1 | Open-source relational database for time-series and analytics|
203229
> |[tsm_system_rows](https://www.postgresql.org/docs/12/tsm-system-rows.html) | 1.0 | TABLESAMPLE method which accepts number of rows as a limit|
204230
> |[tsm_system_time](https://www.postgresql.org/docs/12/tsm-system-time.html) | 1.0 | TABLESAMPLE method which accepts time in milliseconds as a limit|
205231
> |[unaccent](https://www.postgresql.org/docs/12/unaccent.html) | 1.1 | text search dictionary that removes accents|
@@ -232,9 +258,10 @@ The following extensions are available in Azure Database for PostgreSQL - Flexib
232258
> |[isn](https://www.postgresql.org/docs/11/isn.html) | 1.2 | data types for international product numbering standards|
233259
> |[lo](https://www.postgresql.org/docs/11/lo.html) | 1.1 | large object maintenance |
234260
> |[ltree](https://www.postgresql.org/docs/11/ltree.html) | 1.1 | data type for hierarchical tree-like structures|
261+
> |[orafce](https://github.com/orafce/orafce) | 3.1.8 |implements in Postgres some of the functions from the Oracle database that are missing|
235262
> |[pageinspect](https://www.postgresql.org/docs/11/pageinspect.html) | 1.7 | inspect the contents of database pages at a low level|
236263
> |[pg_buffercache](https://www.postgresql.org/docs/11/pgbuffercache.html) | 1.3 | examine the shared buffer cache|
237-
> |[pg_cron](https://github.com/citusdata/pg_cron) | 1.3 | Job scheduler for PostgreSQL|
264+
> |[pg_cron](https://github.com/citusdata/pg_cron) | 1.4 | Job scheduler for PostgreSQL|
238265
> |[pg_freespacemap](https://www.postgresql.org/docs/11/pgfreespacemap.html) | 1.2 | examine the free space map (FSM)|
239266
> |[pg_partman](https://github.com/pgpartman/pg_partman) | 4.5.0 | Extension to manage partitioned tables by time or ID |
240267
> |[pg_prewarm](https://www.postgresql.org/docs/11/pgprewarm.html) | 1.2 | prewarm relation data|
@@ -254,6 +281,7 @@ The following extensions are available in Azure Database for PostgreSQL - Flexib
254281
> |[postgres_fdw](https://www.postgresql.org/docs/11/postgres-fdw.html) | 1.0 | foreign-data wrapper for remote PostgreSQL servers|
255282
> |[sslinfo](https://www.postgresql.org/docs/11/sslinfo.html) | 1.2 | information about SSL certificates|
256283
> |[tablefunc](https://www.postgresql.org/docs/11/tablefunc.html) | 1.0 | functions that manipulate whole tables, including crosstab|
284+
> |[timescaledb](https://github.com/timescale/timescaledb) | 1.7.4 | Open-source relational database for time-series and analytics|
257285
> |[tsm_system_rows](https://www.postgresql.org/docs/11/tsm-system-rows.html) | 1.0 | TABLESAMPLE method which accepts number of rows as a limit|
258286
> |[tsm_system_time](https://www.postgresql.org/docs/11/tsm-system-time.html) | 1.0 | TABLESAMPLE method which accepts time in milliseconds as a limit|
259287
> |[unaccent](https://www.postgresql.org/docs/11/unaccent.html) | 1.1 | text search dictionary that removes accents|
214 KB
Loading

0 commit comments

Comments
 (0)