diff options
author | Greg Sabino Mullane | 2013-03-13 18:38:12 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2013-03-13 18:38:12 +0000 |
commit | 39d1a8619936cca3ce08935081cb172c6c52cb68 (patch) | |
tree | d977a2593d762047ab5f72160176fdad0b5fa892 | |
parent | e372ef068b1aadaacbc1307865c92bf51be8ff13 (diff) |
Minor tweaks to get ready for 2.20.0
-rwxr-xr-x | check_postgres.pl | 6 | ||||
-rw-r--r-- | check_postgres.pl.html | 13 | ||||
-rw-r--r-- | t/02_autovac_freeze.t | 2 | ||||
-rw-r--r-- | t/CP_Testing.pm | 12 |
4 files changed, 23 insertions, 10 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 9cffd2c9d..a3078f40d 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -32,7 +32,7 @@ $Data::Dumper::Useqq = 1; binmode STDOUT, ':utf8'; -our $VERSION = '2.20.1'; +our $VERSION = '2.20.0'; use vars qw/ %opt $PGBINDIR $PSQL $res $COM $SQL $db /; @@ -9750,7 +9750,7 @@ Items not specifically attributed are by GSM (Greg Sabino Mullane). =over 4 -=item B<Version 2.20.0> +=item B<Version 2.20.0> March 13, 2013 Add check for pgagent jobs (David E. Wheeler) @@ -9777,6 +9777,8 @@ Items not specifically attributed are by GSM (Greg Sabino Mullane). Prevent "uninitialized value" warnings when showing the port (Henrik Ahlgren) + Do not assume everyone has a HOME [github issue 23] + =item B<Version 2.19.0> January 17, 2012 Add the --assume-prod option (Cédric Villemain) diff --git a/check_postgres.pl.html b/check_postgres.pl.html index 454ffe217..ec2a7489b 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -1793,7 +1793,7 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr <h1><a name="history">HISTORY</a></h1> <p>Items not specifically attributed are by GSM (Greg Sabino Mullane).</p> <dl> -<dt><strong><a name="version_2_20_0" class="item"><strong>Version 2.20.0</strong></a></strong></dt> +<dt><strong><a name="version_2_20_0_march_13_2013" class="item"><strong>Version 2.20.0</strong> March 13, 2013</a></strong></dt> <dd> <pre> @@ -1806,12 +1806,23 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr <pre> Allow txn_idle to work again for < 8.3 servers by switching to query_time.</pre> <pre> + Fix the check_bloat SQL to take inherited tables into account, + and assume 2k for non-analyzed columns. (Geert Pante)</pre> +<pre> Cache sequence information to speed up same_schema runs.</pre> <pre> + Fix --excludeuser in check_txn_idle (Mika Eloranta)</pre> +<pre> + Fix userclause handling in check_txn_idle (Michael van Bracht)</pre> +<pre> Adjust docs to show colon as a better separator inside args for locks (Charles Sprickman)</pre> <pre> Fix undefined $SQL2 error in check_txn_idle [github issue 16] (Patric Bechtel)</pre> +<pre> + Prevent "uninitialized value" warnings when showing the port (Henrik Ahlgren)</pre> +<pre> + Do not assume everyone has a HOME [github issue 23]</pre> </dd> <dt><strong><a name="version_2_19_0_january_17_2012" class="item"><strong>Version 2.19.0</strong> January 17, 2012</a></strong></dt> diff --git a/t/02_autovac_freeze.t b/t/02_autovac_freeze.t index 5ab0d7e31..f68b9e3fd 100644 --- a/t/02_autovac_freeze.t +++ b/t/02_autovac_freeze.t @@ -32,7 +32,7 @@ $result = $cp->run(q{-w 0%}); ## As this is the first alphabetic test, let's make an emergency bailout if ## the server is not reachable at all! if ($result =~ /ERROR.+cptesting_socket/s) { - BAIL_OUT 'Could not connect to the testing database server!'; + BAIL_OUT 'Could not connect to the testing database server!'; } $t = qq{$S self-identifies correctly}; diff --git a/t/CP_Testing.pm b/t/CP_Testing.pm index 292ff5a36..db4dd852b 100644 --- a/t/CP_Testing.pm +++ b/t/CP_Testing.pm @@ -74,7 +74,7 @@ sub test_database_handle { ## Create the test database directory if it does not exist my $dbdir = $arg->{dbdir} || $self->{dbdir}; - $DEBUG and warn qq{Datadir: $dbdir\n}; + $DEBUG and warn qq{Datadir: $dbdir\n}; if (! -d $dbdir) { -e $dbdir and die qq{Oops: I cannot create "$dbdir", there is already a file there!\n}; @@ -82,10 +82,10 @@ sub test_database_handle { Test::More::diag qq{Creating database in directory "$dbdir"\n}; mkdir $dbdir; - } + } - my $datadir = "$dbdir/data space"; - if (! -e $datadir) { + my $datadir = "$dbdir/data space"; + if (! -e $datadir) { my $initdb = $ENV{PGINITDB} ? $ENV{PGINITDB} @@ -94,7 +94,7 @@ sub test_database_handle { $com = qq{LC_ALL=en LANG=C $initdb --locale=C -E UTF8 -D "$datadir" 2>&1}; eval { - $DEBUG and warn qq{About to run: $com\n}; + $DEBUG and warn qq{About to run: $com\n}; $info = qx{$com}; }; if ($@) { @@ -195,7 +195,7 @@ sub test_database_handle { $com = qq{LC_ALL=en LANG=C $pg_ctl -o '-k $sockdir' -l $logfile -D "$dbdir/data space" start}; eval { - $DEBUG and warn qq{About to run: $com\n}; + $DEBUG and warn qq{About to run: $com\n}; $info = qx{$com}; }; if ($@) { |