Repository navigation
New features
- New
keeptable rule anddefaultdirective (#71). Withdefault = 'truncate', every table the config file does not mention is truncated and reported on stderr, so a table added to the database later does not reach the anonymized dump before someone reviews it. Tables that are safe to copy unchanged are listed withkeep(literal name or regex). The default stays'keep': existing configs behave as before.
Bug fixes
- A table regex with an alternation without parentheses, such as
regex `prod|test`, also matched table names starting withprodor ending withtest. It now only matches tablesprodandtest. This changes which tables such a pattern matches: check your config if you use|outside parentheses. - A quote in a table or column name could hide the end of a truncated INSERT statement.
- Documentation: a table regex has to match the whole table name.
The Rust port has been updated to match.