Skip to content

Fixes to check_same_schema #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 0 commits into from
Closed

Conversation

glynastill
Copy link
Contributor

Ignore some non-logical schema based values and use textual representations instead.
Make "--filter" logic to honour regular expressions

Uh, this is tracking head of my fork, sorry about that. Changes as of 18da30e are as follows:

  • Fixes: check_same schema
    • support checking across logical replicas by checking logical name/type/definition when comparing operators/indices/functions/triggers etc rather than oids
    • add '--assume-async' option to skip checking sequnece last_val on asyncronous replicas
    • stop picking up oid named deferrable unique constraint triggers in trigger check
    • correctly identify objects owned by group roles
    • allow constraint check to work across <= 9.2 and >= 9.3 (pg_constraint.confmatchtype = 'u' == 's')
    • include table name in key used to identify trigger and constraint checks to prevent false positives
  • Fix: --filter on regex (as per the manual) rather than equality
  • Fix: stop replicate_row returning "Cannot test replication: values are not the same" when repinfo vaues = "0"
  • Fix: stop check_locks returning "No matching databases found due to exclusion/inclusion options" on quiet database with no locks.
  • New check: check_replication_slots to check retained xlog for all/specific slots
  • Other cherry-picked commits from other forks
    • Application name exclude for transaction_time / transaction_idle (martinmarques)
    • Correct query_start == state_change for PG 9.1+ (sebastianwebber)
    • Fully qualified names and MIN/MAXPAGES in check_bloat (martinmarques / moench-tegeder)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy