summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2010-01-09 19:33:25 +0000
committerGreg Sabino Mullane2010-01-09 19:33:25 +0000
commit9d77e6c085852fe00667b87090e13a2da52d37a2 (patch)
tree3bcc40841f62fc619bb8d815d2784db9f4d11f67 /check_postgres.pl
parent190bffa48752997fb0f7f59dc4d7a80f1238ce1f (diff)
Errant tab
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 6b6fb5647..b8a917946 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -4603,7 +4603,7 @@ sub check_same_schema {
. q{JOIN pg_user u ON (u.usesysid = c.relowner) }
. q{WHERE nspname !~ '^pg_t'};
exists $filter{notriggers} and $SQL .= q{ AND relkind <> 'r'};
- exists $filter{noviews} and $SQL .= q{ AND relkind <> 'v'};
+ exists $filter{noviews} and $SQL .= q{ AND relkind <> 'v'};
exists $filter{noindexes} and $SQL .= q{ AND relkind <> 'i'};
exists $filter{nosequences} and $SQL .= q{ AND relkind <> 'S'};
$info = run_command($SQL, { dbuser => $opt{dbuser}[$x-1], dbnumber => $x } );