projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
190bffa
)
Errant tab
author
Greg Sabino Mullane
<
[email protected]
>
Sat, 9 Jan 2010 19:33:25 +0000
(14:33 -0500)
committer
Greg Sabino Mullane
<
[email protected]
>
Sat, 9 Jan 2010 19:33:25 +0000
(14:33 -0500)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 6b6fb5647ae3bad10e5950577aa78a81a849d934..b8a9179467d44fc684837dc7cfd34bbb52a679ac 100755
(executable)
--- 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 } );