diff options
author | Christoph Berg | 2016-06-07 13:14:51 +0000 |
---|---|---|
committer | Christoph Berg | 2016-06-07 13:14:51 +0000 |
commit | 38ac36d4ec0a3a8a9ac8bf537bc2b1ef34e86c3a (patch) | |
tree | a6c91ff85443fa4ba0f5e8bea4a29adc6ca9b737 | |
parent | 9ce42ea503e4d049566e0e2c8f42df0a1a0f29ab (diff) |
Fix same_schema on 8.4
-rw-r--r-- | check_postgres.pl | 3 |
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}) { |