Merge pull request #368 from capri1989/PG-602

PG-602: Updated the README and added PG15
pull/371/head
Kai Wagner 2023-01-30 13:38:33 +01:00 committed by GitHub
commit 9b9e1f6eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 15 deletions

View File

@ -43,7 +43,7 @@ To learn about other features, available in `pg_stat_monitor`, see the [Features
`pg_stat_monitor` supports PostgreSQL versions 11 and above. It is compatible with both PostgreSQL provided by PostgreSQL Global Development Group (PGDG) and [Percona Distribution for PostgreSQL](https://www.percona.com/software/postgresql-distribution). `pg_stat_monitor` supports PostgreSQL versions 11 and above. It is compatible with both PostgreSQL provided by PostgreSQL Global Development Group (PGDG) and [Percona Distribution for PostgreSQL](https://www.percona.com/software/postgresql-distribution).
The `RPM` (for RHEL and CentOS) and the `DEB` (for Debian and Ubuntu) packages are available from Percona repositories for PostgreSQL versions [11](https://www.percona.com/downloads/percona-postgresql-11/LATEST/), [12](https://www.percona.com/downloads/postgresql-distribution-12/LATEST/), [13](https://www.percona.com/downloads/postgresql-distribution-13/LATEST/) and [14](https://www.percona.com/downloads/postgresql-distribution-14/LATEST/). The `RPM` (for RHEL and CentOS) and the `DEB` (for Debian and Ubuntu) packages are available from Percona repositories for PostgreSQL versions [11](https://www.percona.com/downloads/percona-postgresql-11/LATEST/), [12](https://www.percona.com/downloads/postgresql-distribution-12/LATEST/), [13](https://www.percona.com/downloads/postgresql-distribution-13/LATEST/), [14](https://www.percona.com/downloads/postgresql-distribution-14/LATEST/) and [15](https://www.percona.com/downloads/postgresql-distribution-15/LATEST/).
The RPM packages are also available in the official PostgreSQL (PGDG) yum repositories. The RPM packages are also available in the official PostgreSQL (PGDG) yum repositories.
@ -53,8 +53,8 @@ The `pg_stat_monitor` should work on the latest version of both [Percona Distrib
| **Distribution** | **Version** | **Provider** | | **Distribution** | **Version** | **Provider** |
| ---------------- | --------------- | ------------ | | ---------------- | --------------- | ------------ |
|[Percona Distribution for PostgreSQL](https://www.percona.com/software/postgresql-distribution)| [11](https://www.percona.com/downloads/percona-postgresql-11/LATEST/), [12](https://www.percona.com/downloads/postgresql-distribution-12/LATEST/), [13](https://www.percona.com/downloads/postgresql-distribution-13/LATEST/) and [14](https://www.percona.com/downloads/postgresql-distribution-14/LATEST/)| Percona| |[Percona Distribution for PostgreSQL](https://www.percona.com/software/postgresql-distribution)| [11](https://www.percona.com/downloads/percona-postgresql-11/LATEST/), [12](https://www.percona.com/downloads/postgresql-distribution-12/LATEST/), [13](https://www.percona.com/downloads/postgresql-distribution-13/LATEST/), [14](https://www.percona.com/downloads/postgresql-distribution-14/LATEST/) and [15](https://www.percona.com/downloads/postgresql-distribution-15/LATEST/)| Percona|
| PostgreSQL | 11, 12, 13 and 14 | PostgreSQL Global Development Group (PGDG) | | PostgreSQL | 11, 12, 13, 14 and 15 | PostgreSQL Global Development Group (PGDG) |
### Features ### Features
@ -112,16 +112,16 @@ To install `pg_stat_monitor` from Percona repositories, you need to use the `per
percona-release setup ppgXX percona-release setup ppgXX
``` ```
Replace XX with the desired PostgreSQL version. For example, to install `pg_stat_monitor ` for PostgreSQL 13, specify `ppg13`. Replace XX with the desired PostgreSQL version. For example, to install `pg_stat_monitor ` for PostgreSQL 15, specify `ppg15`.
3. Install `pg_stat_monitor` package 3. Install `pg_stat_monitor` package
* For Debian and Ubuntu: * For Debian and Ubuntu:
``` sh ``` sh
apt-get install percona-pg-stat-monitor13 apt-get install percona-pg-stat-monitor15
``` ```
* For RHEL and CentOS: * For RHEL and CentOS:
``` sh ``` sh
yum install percona-pg-stat-monitor13 yum install percona-pg-stat-monitor15
``` ```
#### Installing from PostgreSQL `yum` repositories #### Installing from PostgreSQL `yum` repositories
@ -134,7 +134,7 @@ Install `pg_stat_monitor`:
dnf install -y pg_stat_monitor_<VERSION> dnf install -y pg_stat_monitor_<VERSION>
``` ```
Replace the `VERSION` variable with the PostgreSQL version you are using (e.g. specify `pg_stat_monitor_13` for PostgreSQL 13) Replace the `VERSION` variable with the PostgreSQL version you are using (e.g. specify `pg_stat_monitor_15` for PostgreSQL 15)
#### Installing from PGXN #### Installing from PGXN
@ -185,7 +185,7 @@ sudo systemctl restart postgresql.service
```sh ```sh
sudo systemctl restart postgresql-13 sudo systemctl restart postgresql-15
``` ```
Create the extension using the [CREATE EXTENSION](https://www.postgresql.org/docs/current/sql-createextension.html) command. Using this command requires the privileges of a superuser or a database owner. Connect to `psql` as a superuser for a database and run the following command: Create the extension using the [CREATE EXTENSION](https://www.postgresql.org/docs/current/sql-createextension.html) command. Using this command requires the privileges of a superuser or a database owner. Connect to `psql` as a superuser for a database and run the following command:
@ -267,7 +267,7 @@ To uninstall `pg_stat_monitor`, do the following:
**Important**: If the `shared_preload_libraries` parameter includes other modules, specify them all for the `ALTER SYSTEM SET` command to keep using them. **Important**: If the `shared_preload_libraries` parameter includes other modules, specify them all for the `ALTER SYSTEM SET` command to keep using them.
4. Restart the `postgresql` instance to apply the changes. The following command restarts PostgreSQL 13. Replace the version value with the one you are using. 4. Restart the `postgresql` instance to apply the changes. The following command restarts PostgreSQL 15. Replace the version value with the one you are using.
* On Debian and Ubuntu: * On Debian and Ubuntu:
@ -279,7 +279,7 @@ To uninstall `pg_stat_monitor`, do the following:
```sh ```sh
sudo systemctl restart postgresql-13 sudo systemctl restart postgresql-15
``` ```
### How we work ### How we work
@ -319,6 +319,6 @@ This project is licensed under the same open liberal terms and conditions as the
### Copyright notice ### Copyright notice
* Portions Copyright © 2018-2021, Percona LLC and/or its affiliates * Portions Copyright © 2018-2023, Percona LLC and/or its affiliates
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, The Regents of the University of California * Portions Copyright (c) 1994, The Regents of the University of California

View File

@ -4,10 +4,9 @@ Below is the complete list of release notes for every version of ``pg_stat_monit
## 1.1.1 ## 1.1.1
### Bugs Fixed ### Improvements
[PG-520](https://jira.percona.com/browse/PG-520): pg_stat_monitor does not work with PostgreSQL15
[PG-462](https://jira.percona.com/browse/PG-462): Initial Support for PostgreSQL15 was added
## 1.1.0 ## 1.1.0