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:
9ce42ea
)
Fix same_schema on 8.4
author
Christoph Berg
<
[email protected]
>
Tue, 7 Jun 2016 13:14:51 +0000
(15:14 +0200)
committer
Christoph Berg
<
[email protected]
>
Tue, 7 Jun 2016 13:14:51 +0000
(15:14 +0200)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 456fbd5c2137f47f6f199c6edcb57a839e871858..017bed16a3400df3ba52fb4637fbd4ed17515821 100644
(file)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-7471,6
+7471,9
@@
sub find_catalog_info {
$SQL = $ci->{SQL2};
}
}
+ if ($type eq 'trigger' and $dbver->{major} <= 8.4) {
+ $SQL =~ s/t.tgconstrindid = 0 AND //;
+ }
if (exists $ci->{exclude}) {
if ('temp_schemas' eq $ci->{exclude}) {