diff --git a/docs/docker.md b/docs/docker.md index 3166cc16a..8f8c4a36e 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -33,16 +33,14 @@ For more information about using Docker, see the [Docker Docs](https://docs.dock 1. Start a Percona Distribution for PostgreSQL container as follows: ```{.bash data-prompt="$"} - $ docker run --name container-name -e POSTGRES_PASSWORD=secret -d percona/percona-distribution-postgresql:tag + $ docker run --name container-name -e POSTGRES_PASSWORD=secret -d percona/percona-distribution-postgresql:-multi ``` Where: * `container-name` is the name you assign to your container * `POSTGRES_PASSWORD` is the superuser password - * `tag` is the tag specifying the version you want. - - Check the [full list of tags](https://hub.docker.com/r/percona/percona-distribution-postgresql/tags/). + * `tag-multi` is the tag specifying the version you need. For example, `{{dockertag}}-multi`. The `multi` part of the tag serves to identify the architecture (x86_64 or ARM64) and pull the respective image. See the [full list of tags](https://hub.docker.com/r/percona/percona-distribution-postgresql/tags/). !!! tip @@ -58,7 +56,7 @@ For more information about using Docker, see the [Docker Docs](https://docs.dock 2. Start the container: ```{.bash data-prompt="$"} - $ docker run --name container-name --env-file ./.my-pg.env -d percona/percona-distribution-postgresql:tag + $ docker run --name container-name --env-file ./.my-pg.env -d percona/percona-distribution-postgresql:-multi ``` 2. Connect to the container's interactive terminal: @@ -89,14 +87,14 @@ where: The following command starts another container instance and runs the `psql` command line client against your original container, allowing you to execute SQL statements against your database: ```{.bash data-prompt="$"} -$ docker run -it --network container:db-container-name --name container-name percona/percona-distribution-postgresql:tag psql -h address -U postgres +$ docker run -it --network container:db-container-name --name container-name percona/percona-distribution-postgresql:-multi psql -h address -U postgres ``` Where: * `db-container-name` is the name of your database container * `container-name` is the name of your container that you will use to connect to the database container using the `psql` command line client -* `tag` is the tag specifying the Docker image version you want to use. +`tag-multi` is the tag specifying the version you need. For example, `{{dockertag}}-multi`. The `multi` part of the tag serves to identify the architecture (x86_64 or ARM64) and pull the respective image. * `address` is the network address where your database container is running. Use 127.0.0.1, if the database container is running on the local machine/host. ## Enable `pg_stat_monitor` diff --git a/docs/release-notes-v16.2.md b/docs/release-notes-v16.2.md new file mode 100644 index 000000000..9c60c1679 --- /dev/null +++ b/docs/release-notes-v16.2.md @@ -0,0 +1,47 @@ +# Percona Distribution for PostgreSQL 16.2 (2024-02-27) + +[Installation](installing.md){.md-button} + +Percona Distribution for PostgreSQL is a solution with the collection of tools from PostgreSQL community that are tested to work together and serve to assist you in deploying and managing PostgreSQL. The aim of Percona Distribution for PostgreSQL is to address the operational issues like High-Availability, Disaster Recovery, Security, Observability, Spatial data handling, Performance and Scalability and others that enterprises are facing. + +This release of Percona Distribution for PostgreSQL is based on [PostgreSQL 16.2](https://www.postgresql.org/docs/16/release-16-2.html). + +## Release Highlights + +* A Docker image for Percona Distribution for PostgreSQL is now available for ARM architectures. This improves the user experience with the Distribution for developers with ARM-based workstations. + + +The following is the list of extensions available in Percona Distribution for PostgreSQL. + +| Extension | Version | Description | +| ------------------- | -------------- | ---------------------------- | +|[HAProxy](http://www.haproxy.org/) | 2.8.5 | a high-availability and load-balancing solution | +| [Patroni](https://patroni.readthedocs.io/en/latest/) | 3.2.2 | a HA (High Availability) solution for PostgreSQL | +| [PgAudit](https://www.pgaudit.org/) | 16 | provides detailed session or object audit logging via the standard logging facility provided by PostgreSQL | +| [pgAudit set_user](https://github.com/pgaudit/set_user)| 4.0.1 | provides an additional layer of logging and control when unprivileged users must escalate themselves to superusers or object owner roles in order to perform needed maintenance tasks.| +| [pgBackRest](https://pgbackrest.org/) | 2.50 | a backup and restore solution for PostgreSQL | +|[pgBadger](https://github.com/darold/pgbadger) | 12.4 | a fast PostgreSQL Log Analyzer.| +|[PgBouncer](https://www.pgbouncer.org/) |1.22.0 | a lightweight connection pooler for PostgreSQL| +| [pg_gather](https://github.com/jobinau/pg_gather)| v25 | an SQL script for running the diagnostics of the health of PostgreSQL cluster | +| [pgpool2](https://git.postgresql.org/gitweb/?p=pgpool2.git;a=summary) | 4.5.0 | a middleware between PostgreSQL server and client for high availability, connection pooling and load balancing.| +| [pg_repack](https://github.com/reorg/pg_repack) | 1.5.0 | rebuilds PostgreSQL database objects | +| [pg_stat_monitor](https://github.com/percona/pg_stat_monitor)|2.0.4 | collects and aggregates statistics for PostgreSQL and provides histogram information.| +| [PostGIS](https://github.com/postgis/postgis) | 3.3.5 | a spatial extension for PostgreSQL.| +| [PostgreSQL Common](https://salsa.debian.org/postgresql/postgresql-common)| 256 | PostgreSQL database-cluster manager. It provides a structure under which multiple versions of PostgreSQL may be installed and/or multiple clusters maintained at one time.| +|[wal2json](https://github.com/eulerto/wal2json) |2.5 | a PostgreSQL logical decoding JSON output plugin| + +Percona Distribution for PostgreSQL also includes the following packages: + +* `llvm` 12.0.1 packages for Red Hat Enterprise Linux 8 and compatible derivatives. This fixes compatibility issues with LLVM from upstream. +* supplemental `ETCD` packages which can be used for setting up Patroni clusters. These packages are available for the following operating systems: + +| Operating System | Package | Version | Description | +| --------------------- | ---------------------| --------| ------------------ | +| RHEL 8 and derivatives| `etcd` | 3.5.12 | A consistent, distributed key-value store| +| | `python3-etcd`| 0.4.5 | A Python client for ETCD | + + + +Percona Distribution for PostgreSQL is also shipped with the [libpq](https://www.postgresql.org/docs/16/libpq.html) library. It contains "a set of +library functions that allow client programs to pass queries to the PostgreSQL +backend server and to receive the results of these queries." diff --git a/docs/release-notes.md b/docs/release-notes.md index d503878c9..a969ccf3f 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,7 @@ # Percona Distribution for PostgreSQL release notes +* [Percona Distribution for PostgreSQL 16.2](release-notes-v16.2.md) (2024-02-27) + * [Percona Distribution for PostgreSQL 16.1 Update](release-notes-v16.1.upd.md) (2024-01-18) * [Percona Distribution for PostgreSQL 16.1](release-notes-v16.1.md) (2023-11-29) diff --git a/mkdocs-base.yml b/mkdocs-base.yml index d5b3d3925..314f64b9e 100644 --- a/mkdocs-base.yml +++ b/mkdocs-base.yml @@ -125,7 +125,7 @@ plugins: output_path: '_pdf/PerconaDistributionPostgreSQL-16.pdf' cover_title: 'Distribution for PostgreSQL Documentation' - cover_subtitle: 16.1 (January 18, 2024) + cover_subtitle: 16.2 (February 27, 2024) author: 'Percona Technical Documentation Team' cover_logo: docs/_images/Percona_Logo_Color.png debug_html: false @@ -148,11 +148,12 @@ nav: - 'Home': 'index.md' - Release Notes: - "Release notes index": "release-notes.md" + - release-notes-v16.2.md - release-notes-v16.1.upd.md - release-notes-v16.1.md - release-notes-v16.0.upd.md - release-notes-v16.0.md - - Installation and Upgrade: + - Installation and upgrade: - Install: - "Overview": "installing.md" - "Install via apt": "apt.md" diff --git a/variables.yml b/variables.yml index fa6326b98..49306f831 100644 --- a/variables.yml +++ b/variables.yml @@ -1,7 +1,8 @@ # PG Variables set for HTML output # See also mkdocs.yml plugins.with-pdf.cover_subtitle and output_path -release: 'release-notes-v16.1.upd' +release: 'release-notes-v16.2' +dockertag: '16.2' pgversion: '16'