$Data::Dumper::Indent = 2;
$Data::Dumper::Useqq = 1;
-our $VERSION = '1.7.0';
+our $VERSION = '1.7.1';
use vars qw/ %opt $PSQL $res $COM $SQL $db /;
=head1 VERSION
-This documents describes B<check_postgres.pl> version 1.7.0
+This documents describes B<check_postgres.pl> version 1.7.1
=head1 SYNOPSIS
=over 4
+=item B<Version 1.7.1> (June 2, 2008)
+
+Fix query_time action: account for race condition in which zero rows appear in pg_stat_activity.
+Thanks to Dustin Black for the bug report.
+
=item B<Version 1.7.0> (May 11, 2008)
Add --replicate_row action
-----BEGIN PGP SIGNATURE-----
-iEYEABEDAAYFAkg9kjsACgkQvJuQZxSWSsja8gCfVNIRxr7fHuj/7aZf8KCRjBq/
-F2EAn31EjmZmE8b77ZRHBO2EAyQlx/jF
-=CCFh
+iEYEABEDAAYFAkhEILoACgkQvJuQZxSWSsgewACfbEZ4sL+RqC10h4PNWfS7Ozjv
+XgMAn0pSqw1kO/CkIxouURof3Kbfqker
+=5aGH
-----END PGP SIGNATURE-----
</p>
<hr />
<h1><a name="version">VERSION</a></h1>
-<p>This documents describes <strong>check_postgres.pl</strong> version 1.7.0</p>
+<p>This documents describes <strong>check_postgres.pl</strong> version 1.7.1</p>
<p>
</p>
<hr />
<h1><a name="history">HISTORY</a></h1>
<p>Items not specifically attributed are by Greg Sabino Mullane.</p>
<dl>
+<dt><strong><a name="1" class="item"><strong>Version 1.7.1</strong> (June 2, 2008)</a></strong>
+
+<dd>
+<p>Fix query_time action: account for race condition in which zero rows appear in pg_stat_activity.
+Thanks to Dustin Black for the bug report.</p>
+</dd>
+</li>
<dt><strong><a name="0" class="item"><strong>Version 1.7.0</strong> (May 11, 2008)</a></strong>
<dd>
<p>Add --replicate_row action</p>
</dd>
</li>
-<dt><strong><a name="1" class="item"><strong>Version 1.6.1</strong> (May 11, 2008)</a></strong>
+<dt><strong><strong>Version 1.6.1</strong> (May 11, 2008)</strong>
<dd>
<p>Add --symlinks option as a shortcut to --action=rebuild_symlinks</p>