Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jw1u1 committed Oct 8, 2024
2 parents 1ae05bc + ba25b10 commit 12f7645
Show file tree
Hide file tree
Showing 6 changed files with 683 additions and 602 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
shell: sh

strategy:
matrix:
pgversion:
- 16
- 15
- 14
- 13
- 12
- 11
- 10

env:
PGVERSION: ${{ matrix.pgversion }}

steps:
- name: checkout
uses: actions/checkout@v3

- name: install pg
run: |
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -v $PGVERSION -p -i
sudo apt-get install -f libdbd-pg-perl
sudo -u postgres createuser -s "$USER"
- name: test
run: |
# 02_same_schema test currently broken
rm -fv t/02_same_schema.t
LC_ALL=C PERL_USE_UNSAFE_INC=1 PGBINDIR=/usr/lib/postgresql/$PGVERSION/bin prove t
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2007 - 2023 Greg Sabino Mullane
Copyright 2007 - 2024 Greg Sabino Mullane

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down
3 changes: 1 addition & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,9 @@ sub clean { ## no critic (RequireArgUnpacking)
$string .= qq{\t@ gpg --verify check_postgres.pl.asc\n};
$string .= qq{\n\nhtml : \n\t};
$string .= <<'EOM';
pod2html check_postgres.pl > check_postgres.pl.html
pod2html --title check_postgres.pl check_postgres.pl > check_postgres.pl.html
@ perl -pi -e "s/<link.*?>//" check_postgres.pl.html
@ perl -pi -e "s~ git clone.*~ git clone git://bucardo.org/check_postgres.git</pre>~" check_postgres.pl.html
@ perl -pi -e "s~<title>\S+(.+)~<title>check_postgres.pl\\1~" check_postgres.pl.html
@ perl -pi -e "s~\`\`(.+?)''~&quot;\\1&quot;~g" check_postgres.pl.html
@ rm -f pod2htmd.tmp pod2htmi.tmp
EOM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ https://bucardo.org/mailman/listinfo/check_postgres
COPYRIGHT
---------

Copyright 2007 - 2023 Greg Sabino Mullane
Copyright 2007 - 2024 Greg Sabino Mullane

LICENSE INFORMATION
-------------------
Expand Down
10 changes: 8 additions & 2 deletions check_postgres.pl
Original file line number Diff line number Diff line change
Expand Up @@ -10654,6 +10654,12 @@ =head2 B<new_version_tnm>
See: L<https://bucardo.org/tail_n_mail/> for more information).
See also the information on the C<--get_method> option.
=head2 B<partman_premake>
(C<symlink: check_postgres_partman_premake>) Checks if all partitions that
B<pg_parman>'s maintenance routine should have created are actually present.
Monthly and daily intervals are supported.
=head2 B<pgb_pool_cl_active>
=head2 B<pgb_pool_cl_waiting>
Expand Down Expand Up @@ -11462,7 +11468,7 @@ =head1 HISTORY
(Github user miraclesvenni)
[Github issue #154]
Raise minimum version or Perl to 5.10.0
Raise minimum version of Perl to 5.10.0
Allow commas in passwords via --dbpass for one-connection queries (Greg Sabino Mullane) [Github issue #133]
Expand Down Expand Up @@ -12335,7 +12341,7 @@ =head1 NAGIOS EXAMPLES
=head1 LICENSE AND COPYRIGHT
Copyright 2007 - 2023 Greg Sabino Mullane <[email protected]>.
Copyright 2007 - 2024 Greg Sabino Mullane <[email protected]>.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down
Loading

0 comments on commit 12f7645

Please sign in to comment.