summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2016-06-07 13:14:51 +0000
committerChristoph Berg2016-06-07 13:14:51 +0000
commit38ac36d4ec0a3a8a9ac8bf537bc2b1ef34e86c3a (patch)
treea6c91ff85443fa4ba0f5e8bea4a29adc6ca9b737
parent9ce42ea503e4d049566e0e2c8f42df0a1a0f29ab (diff)
Fix same_schema on 8.4
-rw-r--r--check_postgres.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 456fbd5c2..017bed16a 100644
--- 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}) {