diff options
-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}) { |