to the <code>--warning</code> option. To exclude a type of object, use "noobjectnames". To exclude
objects of a certain type by a regular expression against their name, use "noobjectname=regex".
See the examples for a better understanding.</p>
+<p>You may exclude all objects of a certain name by using the <code>exclude</code> option. It takes a Perl
+regular expression as its argument.</p>
<p>The types of objects that can be filtered are:</p>
<dl>
<dt><strong><a name="user" class="item">user</a></strong></dt>
parameter ending in the number 2, such as "--dbport2=5543"</p>
<p>Example 1: Verify that two databases on hosts star and line are the same:</p>
<pre>
- check_postgres_same_schema --dbhost=star --dbhost=line</pre>
+ check_postgres_same_schema --dbhost=star --dbhost2=line</pre>
<p>Example 2: Same as before, but exclude any triggers with "slony" in their name</p>
<pre>
- check_postgres_same_schema --dbhost=star --dbhost=line --warning="notrigger=slony"</pre>
-<p>Example 2: Same as before, but also exclude all indexes</p>
+ check_postgres_same_schema --dbhost=star --dbhost2=line --warning="notrigger=slony"</pre>
+<p>Example 3: Same as before, but also exclude all indexes</p>
<pre>
- check_postgres_same_schema --dbhost=star --dbhost=line --warning="notrigger=slony noindexes"</pre>
+ check_postgres_same_schema --dbhost=star --dbhost2=line --warning="notrigger=slony noindexes"</pre>
+<p>Example 3: Don't show anything starting with "pg_catalog"</p>
+<pre>
+ check_postgres_same_schema --dbhost=star --dbhost2=line --exclude="^pg_catalog"</pre>
<p>
</p>
<h2><a name="sequence"><strong>sequence</strong></a></h2>
<h1><a name="history">HISTORY</a></h1>
<p>Items not specifically attributed are by Greg Sabino Mullane.</p>
<dl>
+<dt><strong><a name="version_2_11_1" class="item"><strong>Version 2.11.1</strong></a></strong></dt>
+
+<dd>
+<pre>
+ Proper Nagios output for last_vacuum|analyze actions. (Cédric Villemain)
+ Proper Nagios output for locks action. (Cédric Villemain)
+ Proper Nagios output for txn_wraparound action. (Cédric Villemain)
+ Fix for constraints with embedded newlines for same_schema.
+ Allow --exclude for all items when using same_schema.</pre>
+</dd>
<dt><strong><a name="0" class="item"><strong>Version 2.11.0</strong> (August 23, 2009)</a></strong></dt>
<dd>