From d63377f7c3102784fb6268e8ff699649f15d2b3e Mon Sep 17 00:00:00 2001 From: "Jehan-Guillaume (ioguix) de Rorthais" Date: Mon, 25 Sep 2023 13:21:29 +0200 Subject: [PATCH] Release 2.7 (#357) Release 2.7 --- CHANGELOG.md | 18 ++++++++++++++++++ README | 12 +++++++----- README.pod | 13 +++++++++---- check_pgactivity | 4 ++-- check_pgactivity.spec | 7 +++++-- contributors | 3 +++ t/01-pga_version.t | 2 +- 7 files changed, 45 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d56706a..9eb32dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ Changelog ========= +2023-09-25 v2.7: + +* add: compatibility with PostgreSQL 15 and 16, Jehan-Guillaume de Rorthais, Thomas Reiss +* change: `stat_snapshot_age` is compatible from PostgreSQL v9.5 to v14, Benoit Lobréau +* change: simplify session accounting in `backends_status`, Thomas Reiss +* fix: compatibility of `backup_label_age` with PostgreSQL 15 and after, Thomas Reiss +* fix: in `pg_dump_backup`, error explicitly if `--path` is a directory, Christophe Courtois +* fix: `temp_files` on PG10 was counting all DB files, Christophe Courtois, Benoit Lobréau +* fix: make `check_archiver` output `oldest_ready_wal=0` when archive queue is empty, Thomas Reiss +* fix: make `check_archiver` work properly with PostgreSQL 10 without being superuser, Thomas Reiss +* fix: in `backends_status`, avoid "idle in transaction" false positive for PostgreSQL 9.2 and after, Thomas Reiss +* fix: issue with check_pgactivity missing lock file, Joern Ott, Julien Rouhaud, Jehan-Guillaume de Rorthais +* fix: in `btree_bloat`, adjust index tuple header size, Shangzi Xie, Jehan-Guillaume de Rorthais + +Thanks to all contributors of this release for feedbacks, bug reports, patches +and patch reviews, etc. + + 2022-07-08 v2.6: * add: new `session_stats` service to gather miscellaneous session statistics, Frédéric Yhuel diff --git a/README b/README index 32dbe10..983ec17 100644 --- a/README +++ b/README @@ -299,8 +299,9 @@ COMPATIBILITY archiver process did not archive the oldest waiting WAL to be archived since last call. - Required privileges: superuser ( (8.1+) @@ -421,7 +424,9 @@ Perfdata returns the age of the backup_label file, -1 if not present. Critical and Warning thresholds only accept an interval (eg. 1h30m25s). -Required privileges: unprivileged role (9.3+); superuser (<9.3) +Required privileges: +grant execute on function pg_stat_file(text, boolean) (pg12+); +unprivileged role (9.3+); superuser (<9.3) =item B (8.3+) @@ -1096,7 +1101,7 @@ Critical and Warning thresholds accept a percentage of the sequence filled. Required privileges: unprivileged role able to log in all databases -=item B (9.5+) +=item B (9.5 to 14 included) Check the age of the statistics snapshot (statistics collector's statistics). This probe helps to detect a frozen stats collector process. @@ -1334,7 +1339,7 @@ pg_ls_waldir =head1 VERSION -check_pgactivity version 2.6, released on Fri Jul 08 2022. +check_pgactivity version 2.7, released on Mon Sep 25 2023. =head1 LICENSING diff --git a/check_pgactivity b/check_pgactivity index 3c0392f..f7ab9be 100755 --- a/check_pgactivity +++ b/check_pgactivity @@ -64,7 +64,7 @@ delete $ENV{'LANGUAGE'}; $| = 1; -$VERSION = '2.6'; +$VERSION = '2.7'; $PROGRAM = 'check_pgactivity'; my $PG_VERSION_MIN = 70400; @@ -9405,7 +9405,7 @@ __END__ =head1 VERSION -check_pgactivity version 2.6, released on Fri Jul 08 2022. +check_pgactivity version 2.7, released on Mon Sep 25 2023. =head1 LICENSING diff --git a/check_pgactivity.spec b/check_pgactivity.spec index 416f227..93012d3 100644 --- a/check_pgactivity.spec +++ b/check_pgactivity.spec @@ -1,7 +1,7 @@ -%global _tag REL2_6 +%global _tag REL2_7 Name: nagios-plugins-pgactivity -Version: 2.6 +Version: 2.7 Release: 1 Summary: PostgreSQL monitoring plugin for Nagios License: PostgreSQL @@ -32,6 +32,9 @@ install -D -p -m 0755 check_pgactivity %{buildroot}/%{_libdir}/nagios/plugins/ch %doc README LICENSE %changelog +* Mon Sep 25 2023 Jehan-Guillaume de Rorthais 2.7-1 +- new major release 2.7 + * Fri Jul 08 2022 Jehan-Guillaume de Rorthais 2.6-1 - new major release 2.6 diff --git a/contributors b/contributors index fbaca7d..006f68d 100644 --- a/contributors +++ b/contributors @@ -1,4 +1,5 @@ The following contributors helped to bring check_pgactivity : + * Jehan-Guillaume de Rorthais * Julien Rouhaud * Thomas Reiss @@ -18,6 +19,8 @@ The following contributors helped to bring check_pgactivity : * macarbiter * Frédéric Yhuel * Julian Vanden Broeck + * Benoit Lobréau + * Shangzi Xie And many users that reported issues. Thanks to all ! diff --git a/t/01-pga_version.t b/t/01-pga_version.t index 5b780e5..3b03926 100644 --- a/t/01-pga_version.t +++ b/t/01-pga_version.t @@ -13,7 +13,7 @@ use Test::More tests => 18; ### Beginning of tests ### -my $good_version = '2.6'; +my $good_version = '2.7'; my $bad_version = '0.0'; my $not_version = 'whatever';