summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2012-05-13 01:17:36 +0000
committerGreg Sabino Mullane2012-05-13 01:17:36 +0000
commite51cfaa0421c53c5cbe79839601828ecaaa70ffc (patch)
treebbd2e3a9cfc52d0cfdf95c8bdc973dbe69a295a9 /check_postgres.pl
parent7c706ca3208b6f5be038fe31df46c90ff6846b97 (diff)
parent700ae911b534b1e567cd887a777ba3ffd1404d7f (diff)
Merge remote branch 'f0rk/f0rk/ignore_temp_sequences'
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index f575a21a6..0ceb88b74 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -7149,6 +7149,7 @@ FROM (
JOIN pg_namespace nsp ON nsp.oid = relnamespace
WHERE relkind = 'S'
) AS seqs
+WHERE nspname !~ '^pg_temp.*'
ORDER BY nspname, seqname, typname
};
## use critic