$Data::Dumper::Indent = 2;
$Data::Dumper::Useqq = 1;
-our $VERSION = '1.8.0';
+our $VERSION = '1.8.1';
use vars qw/ %opt $PSQL $res $COM $SQL $db /;
=head1 VERSION
-This documents describes B<check_postgres.pl> version 1.8.0
+This documents describes B<check_postgres.pl> version 1.8.1
=head1 SYNOPSIS
=over 4
+=item B<Version 1.8.1> (June 9, 2008)
+
+Allow check_bloat to work on Postgres version 8.0.
+Allow for different commands to be run for each action depending on the server version.
+Give better warnings when running actions not available on older Postgres servers.
+
=item B<Version 1.8.0> (June 3, 2008)
Add the --reverse option to the custom_query action.
</p>
<hr />
<h1><a name="version">VERSION</a></h1>
-<p>This documents describes <strong>check_postgres.pl</strong> version 1.8.0</p>
+<p>This documents describes <strong>check_postgres.pl</strong> version 1.8.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.8.1</strong> (June 9, 2008)</a></strong>
+
+<dd>
+<p>Allow check_bloat to work on Postgres version 8.0.
+Allow for different commands to be run for each action depending on the server version.
+Give better warnings when running actions not available on older Postgres servers.</p>
+</dd>
+</li>
<dt><strong><a name="0" class="item"><strong>Version 1.8.0</strong> (June 3, 2008)</a></strong>
<dd>
<p>Add the --reverse option to the custom_query action.</p>
</dd>
</li>
-<dt><strong><a name="1" class="item"><strong>Version 1.7.1</strong> (June 2, 2008)</a></strong>
+<dt><strong><strong>Version 1.7.1</strong> (June 2, 2008)</strong>
<dd>
<p>Fix query_time action: account for race condition in which zero rows appear in pg_stat_activity.
<h1>check_postgres.pl</h1>
-<p><b>check_postgres.pl</b> is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>1.8.0</b>, and was released on June 3, 2008.</p>
+<p><b>check_postgres.pl</b> is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>1.8.1</b>, and was released on June 3, 2008.</p>
<ul>
- <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 1.8.0</a></li>
+ <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 1.8.1</a></li>
</ul>
<ul>
- <li><a href="/check_postgres/check_postgres.pl">Download check_postgres.pl 1.8.0</a></li>
+ <li><a href="/check_postgres/check_postgres.pl">Download check_postgres.pl 1.8.1</a></li>
<li><a href="/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl</a></li>
</ul>