Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

check_postgres --action=sequence errors when checking sequences in the temp namespace #11

Open
wants to merge 1 commit into from

1 participant

@f0rk

See the bug report at: http://bucardo.org/bugzilla/show_bug.cgi?id=97

Sequences in the temporary namespace cannot be checked, because other sessions cannot access them. So, ignore them. This may not be the best patch, but if you have other ideas/suggestions let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 7, 2012
  1. @f0rk
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  check_postgres.pl
View
1  check_postgres.pl
@@ -7015,6 +7015,7 @@ sub check_sequence {
JOIN pg_namespace nsp ON nsp.oid = relnamespace
WHERE relkind = 'S'
) AS seqs
+WHERE nspname !~ '^pg_temp.*'
ORDER BY nspname, seqname, typname
};
Something went wrong with that request. Please try again.