Ignore sequences in the temporary namespace
authorRyan P. Kelly <rpkelly@cpan.org>
Wed, 9 May 2012 14:18:59 +0000 (10:18 -0400)
committerRyan P. Kelly <rpkelly@cpan.org>
Wed, 9 May 2012 14:18:59 +0000 (10:18 -0400)
check_postgres.pl

index 2afb72d5df9c2485ffca980ee5604fb59b21806b..a15ecdb7a26eb1f7e93092cbe6bbb4737e37868b 100755 (executable)
@@ -7148,6 +7148,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