apgdiff
apgdiff copied to clipboard
Support for --exclude-regex= syntax
There are some "temporary" tables that are left over from a migration or ETL process that only exists on the production system. I don't like to drop those as they might be usefull somewhen and I also don't want them to be in the "reference" schema dump that is distributed via Subversion. Therefore it would be cool if apgdiff would just ignore them.
The standard diff tool e.g. has a "--exclude" syntax. I would like something similar for apgdiff e.g.:
$ apgdiff --exclude='etl_%' --exclude='mig_%' reference-schema.sql current-schema.sql
+1
@aratcliffe Just add your reaction to @lathspell's comment.