Skip to content

Commit 664a45c

Browse files
Improve Acrolynx score
1 parent 43e07bf commit 664a45c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ az postgres flexible-server parameter set --resource-group <resource_group> --s
3737
```
3838

3939
Using [ARM Template](../../azure-resource-manager/templates/index.yml):
40-
Example shown below allowlists extensions `dblink`, `dict_xsyn`, `pg_buffercache` on a server whose name is `postgres-test-server`:
40+
Following example allowlists extensions `dblink`, `dict_xsyn`, `pg_buffercache` on a server whose name is `postgres-test-server`:
4141

4242
```json
4343
{
@@ -68,7 +68,7 @@ az postgres flexible-server parameter set --resource-group <resource_group> --s
6868
}
6969
```
7070

71-
`shared_preload_libraries` is a server configuration parameter that determines which libraries have to be loaded when Azure Database for PostgreSQL flexible server starts. Any libraries which use shared memory must be loaded via this parameter. If your extension needs to be added to shared preload libraries, follow these steps:
71+
`shared_preload_libraries` is a server configuration parameter that determines which libraries have to be loaded when Azure Database for PostgreSQL flexible server starts. Any libraries that use shared memory must be loaded via this parameter. If your extension needs to be added to shared preload libraries, follow these steps:
7272

7373
Using the [Azure portal](https://portal.azure.com):
7474

@@ -86,12 +86,12 @@ Using [Azure CLI](/cli/azure/):
8686
az postgres flexible-server parameter set --resource-group <resource_group> --server-name <server> --subscription <subscription_id> --name shared_preload_libraries --value <extension_name>,<extension_name>
8787
```
8888

89-
After extensions are allowlisted and loaded, these must be installed in each database on which you plan to 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.
89+
After extensions are allowlisted and loaded, they must be installed in each database on which you plan to 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.
9090

9191
> [!NOTE]
9292
> Third party extensions offered in Azure Database for PostgreSQL flexible server are open source licensed code. Currently, we don't offer any third party extensions or extension versions with premium or proprietary licensing models.
9393
94-
Azure Database for PostgreSQL flexible server instance supports a subset of key PostgreSQL extensions as listed below. This information is also available by running `SHOW azure.extensions;`. Extensions not listed in this document aren't supported on Azure Database for PostgreSQL flexible server. You can't create or load your own extension in Azure Database for PostgreSQL flexible server.
94+
Azure Database for PostgreSQL flexible server instance supports a subset of key PostgreSQL extensions as listed in the following table. This information is also available by running `SHOW azure.extensions;`. Extensions not listed in this document aren't supported on Azure Database for PostgreSQL flexible server. You can't create or load your own extension in Azure Database for PostgreSQL flexible server.
9595

9696
## Extension versions
9797

@@ -115,7 +115,7 @@ This command simplifies the management of database extensions by allowing users
115115

116116
### Limitations
117117
While updating extensions is straightforward, there are certain limitations:
118-
- **Selection of a specific version**: The command does not support updating to intermediate versions of an extension. It will always update to the [latest available version](#extension-versions).
118+
- **Selection of a specific version**: The command does not support updating to intermediate versions of an extension. It always updates to the [latest available version](#extension-versions).
119119
- **Downgrading**: Does not support downgrading an extension to a previous version. If a downgrade is necessary, it might require support assistance and depends on the availability of previous version.
120120

121121
#### Installed extensions
@@ -135,7 +135,7 @@ SELECT * FROM pg_available_extensions WHERE name = 'azure_ai';
135135
These commands provide necessary insights into the extension configurations of your database, helping maintain your systems efficiently and securely. By enabling easy updates to the latest extension versions, Azure Database for PostgreSQL continues to support the robust, secure, and efficient management of your database applications.
136136

137137
## Considerations specific to Azure Database for PostgreSQL flexible server
138-
Following is a list of supported extensions which require some specific considerations when used in the Azure Database for PostgreSQL flexible server service. The list is alphabetically sorted.
138+
Following is a list of supported extensions that require some specific considerations when used in the Azure Database for PostgreSQL flexible server service. The list is alphabetically sorted.
139139

140140
### dblink
141141

@@ -147,7 +147,7 @@ We recommend deploying your servers with [virtual network integration](concepts-
147147

148148
`pg_buffercache` can be used to study the contents of *shared_buffers*. Using [this extension](https://www.postgresql.org/docs/current/pgbuffercache.html) you can tell if a particular relation is cached or not (in `shared_buffers`). This extension can help you troubleshooting performance issues (caching related performance issues).
149149

150-
This is part of contrib, and it's easy to install this extension.
150+
This extension is integrated with core installation of PostgreSQL, and it's easy to install.
151151

152152
```sql
153153
CREATE EXTENSION pg_buffercache;
@@ -157,7 +157,7 @@ CREATE EXTENSION pg_buffercache;
157157

158158
[pg_cron](https://github.com/citusdata/pg_cron/) is a simple, cron-based job scheduler for PostgreSQL that runs inside the database as an extension. The `pg_cron` extension can be used to run scheduled maintenance tasks within a PostgreSQL database. For example, you can run periodic vacuum of a table or removing old data jobs.
159159

160-
`pg_cron` can run multiple jobs in parallel, but it runs at most one instance of a job at a time. If a second run is supposed to start before the first one finishes, then the second run is queued and started as soon as the first run completes. This ensures that jobs run exactly as many times as scheduled and don't run concurrently with themselves.
160+
`pg_cron` can run multiple jobs in parallel, but it runs at most one instance of a job at a time. If a second run is supposed to start before the first one finishes, then the second run is queued and started as soon as the first run completes. In such way, it is ensured that jobs run exactly as many times as scheduled and don't run concurrently with themselves.
161161

162162
Some examples:
163163

@@ -236,9 +236,9 @@ Using the [Azure portal](https://portal.azure.com):
236236
1. From the resource menu, under **Settings** section, select **Server parameters**.
237237
1. Search for the `shared_preload_libraries` parameter and edit its value to include `pg_failover_slots`.
238238
1. Search for the `hot_standby_feedback` parameter and set its value to `on`.
239-
1. Select on **Save** to preserve your changes. Now, you'll have the option to **Save and restart**. Choose this to ensure that the changes take effect, since modifying `shared_preload_libraries` requires a server restart.
239+
1. Select on **Save** to preserve your changes. Now, you have the option to **Save and restart**. Choose this to ensure that the changes take effect, since modifying `shared_preload_libraries` requires a server restart.
240240

241-
By selecting **Save and restart**, your server will automatically reboot, applying the changes you've made. Once the server is back online, the PG Failover Slots extension is enabled and operational on your primary Azure Database for PostgreSQL flexible server instance, ready to handle logical replication slots during failovers.
241+
By selecting **Save and restart**, your server automatically reboots, applying the changes just made. Once the server is back online, the PG Failover Slots extension is enabled and operational on your primary Azure Database for PostgreSQL flexible server instance, ready to handle logical replication slots during failovers.
242242

243243
### pg_hint_plan
244244

@@ -261,16 +261,16 @@ Example:
261261
JOIN pgbench_accounts an ON b.bid = a.bid
262262
ORDER BY a.aid;
263263
```
264-
The above example causes the planner to use the results of a `seq scan` on the table a to be combined with table b as a `hash join`.
264+
The previous example causes the planner to use the results of a `seq scan` on the table a to be combined with table b as a `hash join`.
265265

266-
To install pg_hint_plan, in addition, to allow listing it, as shown [above](#how-to-use-postgresql-extensions), you need to include it in the server's shared preload libraries. A change to Postgres's `shared_preload_libraries` parameter requires a **server restart** to take effect. You can change parameters using the [Azure portal](how-to-configure-server-parameters-using-portal.md) or the [Azure CLI](how-to-configure-server-parameters-using-cli.md).
266+
To install pg_hint_plan, in addition, to allow listing it, as shown in [how to use PostgreSQL extensions](#how-to-use-postgresql-extensions), you need to include it in the server's shared preload libraries. A change to Postgres's `shared_preload_libraries` parameter requires a **server restart** to take effect. You can change parameters using the [Azure portal](how-to-configure-server-parameters-using-portal.md) or the [Azure CLI](how-to-configure-server-parameters-using-cli.md).
267267

268268
Using the [Azure portal](https://portal.azure.com):
269269

270270
1. Select your Azure Database for PostgreSQL flexible server instance.
271271
1. From the resource menu, under **Settings** section, select **Server parameters**.
272272
1. Search for the `shared_preload_libraries` parameter and edit its value to include `pg_hint_plan`.
273-
1. Select on **Save** to preserve your changes. Now, you'll have the option to **Save and restart**. Choose this to ensure that the changes take effect, since modifying `shared_preload_libraries` requires a server restart.
273+
1. Select on **Save** to preserve your changes. Now, you have the option to **Save and restart**. Choose this to ensure that the changes take effect, since modifying `shared_preload_libraries` requires a server restart.
274274
You can now enable pg_hint_plan your Azure Database for PostgreSQL flexible server database. Connect to the database and issue the following command:
275275

276276
```sql
@@ -291,7 +291,7 @@ The answer to that is that it is actually both. [pg_repack/lib](https://github.c
291291

292292
As of now, because of the way in which we grant permissions to the repack schema created by this extension, it is only supported to run pg_repack functionality from the context of `azure_pg_admin`.
293293

294-
You may notice that if the owner of a table tries to run pg_repack, they will end up receiving an error like the following:
294+
You may notice that if the owner of a table, who is not `azure_pg_admin`, tries to run pg_repack, they end up receiving an error like the following:
295295

296296
```
297297
NOTICE: Setting up workers.conns
@@ -332,7 +332,7 @@ Using the [Azure portal](https://portal.azure.com):
332332
1. Select your Azure Database for PostgreSQL flexible server instance.
333333
1. From the resource menu, under **Settings** section, select **Server parameters**.
334334
1. Search for the `shared_preload_libraries` parameter and edit its value to include `TimescaleDB`.
335-
1. Select on **Save** to preserve your changes. Now, you'll have the option to **Save and restart**. Choose this to ensure that the changes take effect, since modifying `shared_preload_libraries` requires a server restart.
335+
1. Select on **Save** to preserve your changes. Now, you have the option to **Save and restart**. Choose this to ensure that the changes take effect, since modifying `shared_preload_libraries` requires a server restart.
336336
You can now enable TimescaleDB in your Azure Database for PostgreSQL flexible server database. Connect to the database and issue the following command:
337337

338338
```sql
@@ -350,7 +350,7 @@ To restore a Timescale database using pg_dump and pg_restore, you must run two h
350350
First, prepare the destination database:
351351

352352
```SQL
353-
--create the new database where you'll perform the restore
353+
--create the new database where you want to perform the restore
354354
CREATE DATABASE tutorial;
355355
\c tutorial --connect to the database
356356
CREATE EXTENSION timescaledb;

0 commit comments

Comments
 (0)