apgdiff icon indicating copy to clipboard operation
apgdiff copied to clipboard

Support for --exclude-regex= syntax

Open lathspell opened this issue 12 years ago • 2 comments

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

lathspell avatar Jan 03 '13 17:01 lathspell

+1

aratcliffe avatar Feb 02 '17 22:02 aratcliffe

@aratcliffe Just add your reaction to @lathspell's comment.

Stephan972 avatar Feb 03 '17 10:02 Stephan972